|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Portaudio Audio Source in Windows |
Date: | Mon, 9 May 2016 16:42:53 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Hi Tony, to be honest, I'll be rewriting GNU Radio's slightly dated and slightly ugly preference system, as it seems, so I'm not 100% giving up on this. So, I hope the spirit of the workaround was clear to you: you can always manually set this particular setting via python (instead of specifying it in a configuration file). The python module "detour" was just an attempt to make that a permanent feature of the flow graph. Instead, I could have just asked you to add it pretty far up in the generated top_block.py (or whatever your generated python file is called). There's also another way of specifying such settings – environment variables (which under windows are especially little fun to set...). You can (as documented in [1]) specify a setting as an environment variable; in your case, something like GR_CONF_audio_audio_module = portaudio I know you can configure environment variables somewhere in windows, but I forget where – my Windows usage is just too rare. Best regards, Marcus [1] http://gnuradio.org/doc/doxygen/page_prefs.html On 09.05.2016 14:33, Tony Richardson
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |