Could you maybe test it with a live-cd distribution, or even another operating system? Just because I've always thought it's done "hardware-wise" and not dependent on software; when you plug the headphones jack in, it should silence the speaker. Never inspected that closely, though, but since there is no use (or any that I could think of) in using headphones while still using speaker, one could think it's arranged so that software doesn't have to care about it - hardware does the trick. If your sound card drivers or something should take care of whether the audio goes to earphones or speaker or someplace else, it would make things difficult..I don't think it's like that. I hope it isn't. And in addition, your software should only need to know the sound card it sends the audio to, or receives it from, and your soundcard should deal with the fact where the audio then goes physically.
Maybe there's something wrong with the hardware; are you sure the audio jack is all right? And you surely do hear something from the earphones while the speaker is playing, so that the earphones are not dead?
I would first check the audio connectors for faults.
|