[PATCH] work with ALSA 1.0 API
Jeffrey W. Baker
jwbaker at acm.org
Thu May 10 19:02:12 CEST 2001
On Thu, 10 May 2001, Henri Fallon wrote:
> On Wed, May 09, 2001, Jeffrey W. Baker wrote:
> > I have finished my patch for vlc to use the latest ALSA API. The output
> > of "cvs diff -u" in plugins/alsa is attached. I have tested it on a
> > couple of streams and it works fine. I hope you will apply it.
>
> wow ! I'll patch, adapt to the coding conventions, and commit it
> tonight.
I hope I didn't tread too heavily on your coding conventions. They are
not quite what I am used to.
> After that, I'll try to do what they do in aplay : get the list of the
> devices and subdevices, and maybe we'll be able to select which ones to
> use.
As far as I can tell, aplay hard-wires itself for "plug:0,0". At least,
it does in the 0.99.3 distribution of alsa-utils.
It was suggested on the alsa-devel mailing list that the correct behavior
would be to parse the information out of ~/.asoundrc or /etc/asound.conf.
I don't know if the alsa library provides functions for doing that.
-jwb
More information about the vlc-devel
mailing list