[linux-audio-dev] ALSA performance issues?
rlrevell at joe-job.com
Sun Dec 31 05:46:20 UTC 2006
On Sat, 2006-12-23 at 14:08 +0100, Mario Lang wrote:
> Excuse my ignorance please, but how do I reliably determine
> if dmix is the default device? For instance, ogg123, which uses
> libao, only offers -o card:N and such, but no -o device:"string", so
> I am kind of wondering if libao clients do perhaps always play on a
> hw device?
libao's ALSA device selection is pretty much correct - it uses "default"
PCM if no device is specified, and other devices can be selected like
ogg123 -d alsa09 -o dev:"hw:0,0" file.ogg
Unfortunately the ALSA device selection syntax isn't documented in the
manpage so I had to figure this out by code inspection and trial &
More information about the Linux-audio-dev