LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-31-2003, 11:45 AM   #1
HarPaX
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Rep: Reputation: 15
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.
 
Old 10-31-2003, 12:15 PM   #2
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
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'.
 
Old 10-31-2003, 02:09 PM   #3
HarPaX
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
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..
 
Old 10-31-2003, 02:18 PM   #4
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
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.
 
Old 11-01-2003, 02:08 PM   #5
HarPaX
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using 5.1 (ALSA) output with Kaffeine/XINE justintime32 Linux - Software 2 06-04-2005 04:29 PM
i ajdust my alsa mixer and every time i reboot my pc the mixer change what to do ? SlackwareMan Linux - Newbie 1 07-30-2004 02:39 AM
ALSA Mixer subaruwrx Slackware 1 07-24-2004 08:13 AM
alsa problem- crashes and mixer settings lubond Linux - Hardware 3 04-15-2004 10:37 AM
ALSA Mixer & Mandrake9.1 problem. energy Linux - Hardware 1 10-06-2003 10:04 PM


All times are GMT -5. The time now is 01:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration