LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-15-2005, 11:03 PM   #1
nagromo
Member
 
Registered: Mar 2004
Location: Minnesota, USA
Distribution: Debian, Mepis
Posts: 65

Rep: Reputation: 15
Configuring sound


Sorry for the vague title, but I'm totally confused about sound in Linux. You have ALSA and OSS, esd and arts, and Gnome's sound wrapper. I don't get how they all fit together.

Currently, only one program can play sound at once. I just ran alsaconf. Now GAIM will play sound if I set output to 'automatic,' and xmms will play sound if I set it to use ALSA, but they won't work at the same time. In Gstreamer it is set to use OSS; that and 'custom' are the only options. I'm just confused about all the different sound options in different locations and would like some advice. Sorry I'm being vague.
 
Old 02-16-2005, 12:33 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Alsa and OSS are different sets of soundcard drivers. Alsa is the preferred modern architecture.

If your soundcard doesn't support hardware mixing (not many of them do) you will need to use a sound server to mix sounds from different sources/programs to one output which is streamed to the soundcard. esound (Gnome/Enlightenment standard) and Arts (KDE standard) are examples of sound servers.

To me it sounds like you need to install, or perhaps just start, a sound server. Point xmms and other programs to use your sound server and you should be OK.


Håkan
 
Old 02-16-2005, 08:19 AM   #3
nagromo
Member
 
Registered: Mar 2004
Location: Minnesota, USA
Distribution: Debian, Mepis
Posts: 65

Original Poster
Rep: Reputation: 15
OK, thanks. I'm currently using Gnome, so ESD sounds like what I want. I changed it to 'Enable sound server startup.' Now xmms and GAIM will both play sound at once, using esd. Browser plugins such as java and flash don't play sound anymore, but they did before. I used 'dpkg-reconfigure mozilla-browser' and chose the esddsp wrapper.

In the Gnome multimedia streams selector, it's currently using OSS, and the only other option is custom (I type the name of the streams). I have alsa installed, though, and if I run alsaconf then only programs set to use alsa will play sound until I restart my computer. Is it worth it to figure out how to use ALSA instead of OSS?

Thank you.

Last edited by nagromo; 02-16-2005 at 08:21 AM.
 
Old 02-23-2005, 10:17 PM   #4
nagromo
Member
 
Registered: Mar 2004
Location: Minnesota, USA
Distribution: Debian, Mepis
Posts: 65

Original Poster
Rep: Reputation: 15
Does anyone have any ideas? It's nice that Gaim and xmms work at the same time, but I would like sound in DosBox and my browser plugins, too. Here's the command line output of DosBox:

Quote:
morgan@morgan-deb:/mnt/fat/morgan/downloads/dos$ dosbox .
CONFIG: Using default settings. Create a configfile to change them
MIXER:Can't open audio: No available audio device , running in nosound mode.
ALSA lib seq_hw.c:446snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
ALSA:Can't open sequencer
MIDI:Opened device:none
Is it looking for a midi sequencer? I have integrated AC 97 audio; I don't think I have a hardware midi sequencer.

I had the same problem when trying to play midi files with kmid; it can't open /dev/sequencer. Other audio programs won't even recognize midi files. Wouldn't a software sequencer be a relatively easy solution?

Thanks...
 
  


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
Configuring sound kponenation Slackware 11 02-28-2005 02:45 AM
configuring sound jaakkop Slackware 6 01-19-2005 03:14 PM
configuring sound sentme_mail Linux - Newbie 4 10-14-2004 03:00 PM
configuring sound without modular sound darkleaf Linux - Hardware 4 07-08-2004 04:56 AM
Configuring sound oneandoneis2 Slackware 16 11-27-2003 03:18 AM


All times are GMT -5. The time now is 01:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration