summaryrefslogtreecommitdiff
path: root/gr-audio/lib/alsa/audio_alsa_sink.cc
diff options
context:
space:
mode:
authorJosh Blum2011-03-09 13:39:07 -0800
committerJosh Blum2011-03-09 13:39:07 -0800
commit78f735f4174c2a0fe275da41252e227226af5b3b (patch)
treef8ab2f66667666e0baa532bf1a34d97397e929ec /gr-audio/lib/alsa/audio_alsa_sink.cc
parent8bd65a04463692e6f179a5fc4f23d73782103781 (diff)
downloadgnuradio-78f735f4174c2a0fe275da41252e227226af5b3b.tar.gz
gnuradio-78f735f4174c2a0fe275da41252e227226af5b3b.tar.bz2
gnuradio-78f735f4174c2a0fe275da41252e227226af5b3b.zip
audio: register arches with priorities, ex: prefer alsa over oss
Diffstat (limited to 'gr-audio/lib/alsa/audio_alsa_sink.cc')
-rw-r--r--gr-audio/lib/alsa/audio_alsa_sink.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-audio/lib/alsa/audio_alsa_sink.cc b/gr-audio/lib/alsa/audio_alsa_sink.cc
index af5cc02be..0728f421c 100644
--- a/gr-audio/lib/alsa/audio_alsa_sink.cc
+++ b/gr-audio/lib/alsa/audio_alsa_sink.cc
@@ -33,7 +33,7 @@
#include <stdexcept>
#include <gri_alsa.h>
-AUDIO_REGISTER_SINK(alsa)(
+AUDIO_REGISTER_SINK(REG_PRIO_HIGH, alsa)(
int sampling_rate, const std::string &device_name, bool ok_to_block
){
return audio_sink::sptr(new audio_alsa_sink(sampling_rate, device_name, ok_to_block));