discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-audio: one component to rule them all


From: Josh Blum
Subject: Re: [Discuss-gnuradio] gr-audio: one component to rule them all
Date: Wed, 30 Mar 2011 10:39:59 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

> (To be clear, I want to specify the architecture (alsa, portaudio,
> windows, etc.), not the device name.)
> 

Aha, my first guess.

> For my applications, I have used
>  from gnuradio import audio_portaudio as audio
> 
> to get good results from any system I run them on, including the
> temporary Cygwin and MinGW installations I use for testing.  For
> testing, it would be nice to be able to specify the architecture
> to test on the command line of the test program.
> 
> Could we have optional arguments to audio.{source,sink} to specify
> the architecture (default="auto") and whether the specified
> architecture is required or only preferred?
> 
* maybe we need a 4th parameter "required_architecture" to the constructor

* or some static class methods like set_required_architecture(arch), and
get_available_architectures()

just a thought

> As an aside, I have never known where to find the documentation
> for the configuration (or is it preferences?) file(s) (yes, I found
> the info for gr-audio in the README file).  Maybe we need a FAQ
> entry telling about config.conf, common options, and what to search for
> in the code for the less common options.
> 

like a wiki page for standard gnuradio configuration options?
(liking this idea)

-Josh



reply via email to

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