Wednesday, February 5, 2014

Re: [Discuss-gnuradio] gr-audio: add query device names?

There may a problem with alsa and linux.
You can find all available cards in the file /proc/asound/cards.

But in some cases you can't use a card directly.
For instance the Delta M44 offers 10 channels, but in many use cases you
only work with 2 channels. So you have to use plugins.

Of course, you could list the available hardware.

-- Volker



Am 05.02.2014 17:43, schrieb Michael Dickens:
> It's all well and good to send in an audio device name to the gr-audio sink/source, and then see if that device name matches anything / works / is found. In my fixes to gr-audio-osx, if the audio device was specified but not found, the code will print out a list of available device names and use the default device.
>
> This got me thinking: Why not change the gr-audio API to include a method that returns all known device names (output ones for sink and input ones for source)? I can easily do it on OSX native, and Alex Csete has a means for doing it on PortAudio; I have no idea how difficult this would be for any other audio option, but I generally like the idea.
>
> What do others think? - MLD
> --
> Michael Dickens, OSX Programmer
> Ettus Research Technical Support
> Email: support@ettus.com
> Web: http://www.ettus.com
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment