LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-25-2004, 04:52 PM   #1
goldie1
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Rep: Reputation: 0
Sound and Gnome


I have one last issue with Linux that has driven me nuts for years. Could someone please explain to me the concept of sound in Linux. I run sid and Gnome 2.8. Sound works fine through xmms. However I have a reoccuring issue with other programs such as Gaim. The sound works sometimes and other times it does not.

Can someone explain to me the difference between alsa, oss and esd,arts, etc. How do I enable gnome sounds? Do I select my sound source through gstreamer-properties. it all confuses me. Any input or light you could shed to make me understand would be much appreciated.


In addition, it seems if I have sound server enabled sounds either clip or skip especially from gaim.

Thanks!

Last edited by goldie1; 10-25-2004 at 04:57 PM.
 
Old 10-26-2004, 12:46 AM   #2
haimeltjnfg
Member
 
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
alsa and oss are two different sound drivers.

arts, esound, and gstreamer are different sound engines used by their respective desktop environments. (arts is kde, gstreamer is gnome, and esound is enlightenment)

i'd check your mixer settings, and i'd save the settings that work.

also, you might want to make sure you have all the needed gstreamer packages installed.
 
Old 10-26-2004, 12:52 AM   #3
goldie1
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Okay, so is there a preference over alsa or oss? Am I correct in saying Alsa was supposed to replace OSS? I think my card is supported for each. I should pick one or the other then, not both right?

I run gnome. I can safely get rid of esd and arts to clear up confusion?

Thanks!
 
Old 10-26-2004, 02:36 AM   #4
wasme
LQ Newbie
 
Registered: Sep 2004
Location: Manitoba, Canada
Distribution: Debian Sid (Unstable)
Posts: 11

Rep: Reputation: 0
Yes, ALSA replaces OSS in the 2.6.x kernel series.

If you aren't using any KDE apps you should be able to remove arts without any problems. Even using non-sound KDE apps you should be able to remove it (although your distributions package manager might not want you to). If you do use a few KDE apps generally there's no harm in running it anyway, just uses up a few system resources, but generally not enough to worry about on modren computers.

Gnome seems to still use esd (at least the debian gnome-desktop-enviroment package still lists it as a dependancy).

Basicly both arts and esd are ways to merge several sound streams into one. This used to be a problem with older hardware that only allowed one application to access the sound card at once. Most current soundcards don't have this same problem, but arts and esd still have some uses (such as redirecting a sound stream over a network, providing a standard interface for sound programers, and other such things).

http://developer.gnome.org/doc/whitepapers/esd/

Gstreamer is something completely different. It's meant to become a standard framework for media. So, the idea that is if you want to write a music player or a video player or a sound editor or whatever, you just plug in gstreamer to handle the actual playback, recording, and whatever else. This way to support a new file format (eg. wav, mp3, ogg, xvid, mpeg4, etc.) you just need to write a new plugin for gstreamer then all gstreamer-based apps will support it. (Well, in theory. In practice this doesn't always work.)

Using a standard media framework also means every media-handling application doesn't need to re-invent the wheel, and the different applications should work nicer together. Gstreamer isn't yet official adopted by GNOME, but that does seem to be the general direction. Note that KDE or any other desktop environment could also use it as a media framework if they wished. (In otherwords gstreamer isn't tied to gtk or esd.)

http://gstreamer.freedesktop.org/dat...head/faq/html/

Last edited by wasme; 10-26-2004 at 02:42 AM.
 
Old 10-26-2004, 03:43 AM   #5
goldie1
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Original Poster
Rep: Reputation: 0
thanks so much for your reply! I understand things quite a bit better now. I am running latest 2.6 kernel. Should I do away with OSS and use the alsa drivers then?

UPDATE: I would like to thank you for all your help. I have gotten sound to work successfully now. I have removed all of my OSS stuff and am using just alsa. Everything seems to work great now. One last thing, running rhythmbox how can I eq the sound like xmms? Is there some sort of eq plugin or something?

Glad I now understand how this all works with sound!


Last edited by goldie1; 10-26-2004 at 04:07 AM.
 
Old 10-26-2004, 07:48 PM   #6
haimeltjnfg
Member
 
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
what sound card do you use?

oss sounds much better than alsa with my emu10k1 (soundblaster live), so I use oss.
 
Old 10-27-2004, 03:49 PM   #7
goldie1
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Original Poster
Rep: Reputation: 0
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

I have moved over to Alsa.. I have many more options with alsa drivers than oss..
 
  


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
Sound not working in GNOME but sound card test works saravkrish Linux - Hardware 3 02-08-2006 12:03 PM
No sound in gnome 2.10 linx win Debian 4 07-05-2005 03:36 PM
Sound in gnome brokenflea Slackware 1 06-28-2005 08:00 PM
Gnome has sound/switch to KDE no sound Lar Fedora 6 11-05-2004 04:33 AM
Help no sound on Gnome!!! rrivero Linux - General 3 10-04-2002 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:36 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