[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no sound in headphones



Liviu Andronic wrote:

> On 9/17/09, Liviu Andronic <landronimirc@gmail.com> wrote:
>>  an issue that I also encountered in 2.6.26. Although I have sound in
>>  hte computer speaker, I have none in the headphones. When I plug the
>>  headphones (or external speakers), the computer speakers are not
>>  muted, and there is no sound in the external devices.
>>
> The strange part is that in some specific instances, which I did not
> yet learn how to recreate, the plugging in the headphones works as
> expected.
> Any ideas on what might be wrong?
> Liviu

nothing is wrong - you may have many input/outputs. you have to figure out
which controls are for the headphones. Unfortunately it depends on your
card. Mostprobably you have to assign the correct output to your
application. 

In alsamixer I see many headphone controls and if I plug into the headphone
jack it works fine

Or

amixer | grep Head
Simple mixer control 'Headphone',0
Simple mixer control 'Headphone as Line Out',0
Simple mixer control 'Headphone',1

Also you can play with .asounrd

# from http://alsa.opensrc.org/index.php/Dmix
pcm.headset { # playback only on frontpanel headset
 type route
 slave.pcm dmixer
 slave.channels 8
 ttable.0.0 1 # headphones front L
 ttable.1.1 1 # headphones front R
}



Reply to: