diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-09 14:31:44 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-09 14:31:44 -0800 |
commit | a83d1cf1518827e8b5398bcecef1c8216808ee7c (patch) | |
tree | 55e76ba21cf69bda14bf7737393cc9dd63ba73e5 /gr-audio | |
parent | 78f735f4174c2a0fe275da41252e227226af5b3b (diff) |
audio: make prefs look like old audio, removed old audio.py
Diffstat (limited to 'gr-audio')
-rw-r--r-- | gr-audio/lib/gr_audio_registry.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-audio/lib/gr_audio_registry.cc b/gr-audio/lib/gr_audio_registry.cc index 7aa9dc7a4e..c47db82893 100644 --- a/gr-audio/lib/gr_audio_registry.cc +++ b/gr-audio/lib/gr_audio_registry.cc @@ -79,11 +79,11 @@ void audio_register_sink( * Factory functions **********************************************************************/ static std::string default_arch_name(void){ - return gr_prefs::singleton()->get_string("audio", "default_arch", ""); + return gr_prefs::singleton()->get_string("audio", "audio_module", "auto"); } static void do_arch_warning(const std::string &arch){ - if (arch.empty()) return; //no warning when arch not specified + if (arch == "auto") return; //no warning when arch not specified std::cerr << "Could not find audio architecture \"" << arch << "\" in registry." << std::endl; std::cerr << " Defaulting to the first available architecture..." << std::endl; } |