Re: [linux-audio-dev] ALSA performance issues?

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Sun Dec 31 2006 - 07:46:20 EET

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
so:

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 &
error...

Lee
Received on Sun Dec 31 08:15:04 2006

This archive was generated by hypermail 2.1.8 : Sun Dec 31 2006 - 08:15:05 EET