discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Volker Schroer
Subject: Re: [Discuss-gnuradio] gr-audio: add query device names?
Date: Thu, 06 Feb 2014 07:33:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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: address@hidden
Web: http://www.ettus.com


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]