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

2014-02-06 Thread Alexandru Csete
On Thu, Feb 6, 2014 at 7:33 AM, Volker Schroer dl1...@gmx.de wrote: 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

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

2014-02-06 Thread Volker Schroer
Hi Volker, The idea is to enumerate using library calls, which is the right way to do this. Alex Hi Alex, Yes, I know, but sometimes this does not help. Here is a list of my devices from aplay -l: Karte 0: SB [HDA ATI SB], Gerät 0: ID 892 Analog [ID 892 Analog] Sub-Geräte: 0/1

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

2014-02-06 Thread Alexandru Csete
2014-02-06 11:10 GMT+01:00 Volker Schroer dl1...@gmx.de: Hi Volker, The idea is to enumerate using library calls, which is the right way to do this. Alex Hi Alex, Yes, I know, but sometimes this does not help. Here is a list of my devices from aplay -l: Karte 0: SB [HDA ATI SB],

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

2014-02-05 Thread 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

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

2014-02-05 Thread Volker Schroer
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,