Re: [linux-audio-dev] Juce now has ALSA support!

From: Julian Storer <jules@email-addr-hidden>
Date: Wed Mar 01 2006 - 14:51:46 EET

James Courtier-Dutton wrote:

> Julian Storer wrote:
>
>> Am I right in assuming that by default you mean the "plughw:"
>> devices? On my machine the plughw: device glitched constantly, but
>> the hw: devices worked really well. There was also some other reason
>> I chose that.. can't remember offhand what it was though.
>
> "default" means just that. use the name "default" instead of
> plughw:.... or hw:0,0
> If the device glitched when using "plughw:" then it is a bug in ALSA
> or your application.
> How is you application deciding on sample rate?

> There is no sensible reason to ever use the "hw:0,0" device. Always
> use the "plug:front" and friends.
> If an application only works with "hw:0,0" it has been written wrongly.
>
Ok, at the risk of "spreading the myth" that the ALSA documentation is
bad... is this stuff actually explained anywhere?? It took me a day of
googling just to find out what the two numbers after "hw" meant! I never
saw anything mention "default" or "plug:front", etc.

Not sure if it'd be appropriate anyway, though, as my API exposes a list
of drivers and lets the user choose which one to use, and the sample
rate, rather than just using the default driver.

> James
>
> P.S. Please don't top post.
>
Received on Wed Mar 1 16:15:06 2006

This archive was generated by hypermail 2.1.8 : Wed Mar 01 2006 - 16:15:06 EET