View unanswered posts | View active topics It is currently Wed Jul 24, 2019 2:26 am



This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Which sound system your distribution uses with each API? 
Author Message
Rookie

Joined: Thu Jan 27, 2005 7:28 pm
Posts: 37
Reply with quote
Post Which sound system your distribution uses with each API?
I saw "The bsnes UNIX audio thread"* and started looking in some detail what different distros do with different audio APIs.
* OpenAL (in Linux can use ALSA, ARTS, SDL, ESD, OSS or SDL)
- openSUSE 10.3
The package creates a /etc/openalrc file with
Quote:
(define devices '(alsa native))

so by default it uses ALSA.

Takashi Iwai, from ALSA and Novell, has also patched the ALSA backend.

- Ubuntu/Debian (0.0.8-7 package)
I don't use it. But at http://packages.ubuntu.com/hardy/libopenal0a / http://packages.debian.org/sid/libopenal0a I see their packages have an /etc/openalrc file with
Quote:
(define devices '(alsa))
(define alsa-out-device "default")

so it uses ALSA default device.

They lack Takashi Iwai ALSA patches (perhaps something to report to Debian...).

*libao (in Linux can use OSS, ALSA, PulseAudio, ESD, ARTS or NAS)
- openSUSE 10.3
It doesn't specifies a default driver. So from the libao source code: if ESD is running it's the first candidate, if no ALSA is used.

They have another Takashi Iwai ALSA patch ("fixed the buffer allocation").

- Ubuntu/Debian (0.8.8-3 package)
Uses ALSA: /etc/libao.conf
Quote:
default_driver=alsa


They lack the ALSA patch (perhaps something to report to Debian...).


What others do?


* I have not answered it since it crashes with ALSA and I'm too lazy to install OSS4. Maybe later.

PD. The libao bsnes backend makes something funny:
Code:
  bool init() {
    driver_id = ao_default_driver_id(); //ao_driver_id((const char*)driver)
    if(driver_id < 0) driver_id = ao_default_driver_id(); //fallback on default if driver doesn't exist

The first line comment doesn't match the real code. Or you want an specific driver or no ;-)


Fri May 30, 2008 5:35 pm
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.