LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with ALSA mixer and Xine (https://www.linuxquestions.org/questions/linux-software-2/problem-with-alsa-mixer-and-xine-110814/)

HarPaX 10-31-2003 10:45 AM

Problem with ALSA mixer and Xine
 
I am having a problem with how xine interacts with the ALSA mixer, right now it would seem that irregardless of the mixer settings (eg master and everything else complely muted and turned down) I still get audio from xine (from any media, DivX video, VCD, DVD, MP3). The output from Xine is full blast as loud as the sound card can go as I need to turn down the volume on the speakers in order listen at a resonable level.

I first started having this problem after trying to get 5.1 working in xine. After failing at that, I returned the settings to where they were, and I no longer had any control over the audio. I have tried to re-install/update xine(including deleting my home dir .xine directory to return all settings to defaults) and I have removed the /etc/asound.state and loaded the emu10k1 driver again to ensure all mixer settings start out muted. Xine is the only program on my system doing this, all others (XMMS, a few games etc..) appear to work normally (eg. I mute the master in the mixer and the sound goes away).

System information is as follows:

Athlon XP 1900+
SB Audigy OEM sound card
ALSA emu10k1 driver 0.97

I have this problem in both the 2.6.0-test9 and 2.4.20-8(RedHat) kernels. System is RH9.

Any ideas?

Thanks.

musrum 10-31-2003 11:15 AM

Is xine configured to use ALSA (or arts)?

When xine is playing, run amixer. It will dump all the alsa settings. Are they at max? Are you using alsamixer or some GUI mixer? If the latter, some sound cards have controls not exposed by some GUIs. Some sound drivers/cards may use controls in an unexpected way - for instance, on one of my machines, 'Headphone' controls the 'Line Out'.

HarPaX 10-31-2003 01:09 PM

Musrum,
Thanks for the reply. Xine is configured specifcally to use ALSA. Under 2.6.0-test9 the alsa drivers are compiled in and no other audio API's are installed. Also, OSS emuation for ALSA is disabled. I am using a GUI mixer (GNOME ALSA mixer I believe), although all of the controls seem to appear and work as expected when a MP3 is played in XMMS. However, I will check to see what the output from amixer looks like when it is run while xine is playing. Also, as RH defaults to GNOME so believe it has esd running and not arts. That shouldn't make a difference so long as xine is configured to use ALSA though should it? I could try to shutdown esd and see what happens..

musrum 10-31-2003 01:18 PM

Xine can also be configured to use esd, I believe. Shuting down esd just to try is a good idea. Of course, to get some sounds out of GNOME you'll need it back later.

HarPaX 11-01-2003 01:08 PM

Solution
 
If anyone was curious about the solution to this problem, It was caused by a version mismatch between the ALSA libs (0.9.8) and the alsa driver (0.9.7). I downgraded the libs and everything is working properly again (except 5.1 still dosn't work in xine).


All times are GMT -5. The time now is 10:08 AM.