summaryrefslogtreecommitdiff
path: root/gr-audio/lib/oss
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/oss
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/oss')
-rw-r--r--gr-audio/lib/oss/audio_oss_sink.cc2
-rw-r--r--gr-audio/lib/oss/audio_oss_source.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-audio/lib/oss/audio_oss_sink.cc b/gr-audio/lib/oss/audio_oss_sink.cc
index a33e569f6..4e9e7cd79 100644
--- a/gr-audio/lib/oss/audio_oss_sink.cc
+++ b/gr-audio/lib/oss/audio_oss_sink.cc
@@ -38,7 +38,7 @@
#include <iostream>
#include <stdexcept>
-AUDIO_REGISTER_SINK(oss)(
+AUDIO_REGISTER_SINK(REG_PRIO_LOW, oss)(
int sampling_rate, const std::string &device_name, bool ok_to_block
){
return audio_sink::sptr(new audio_oss_sink(sampling_rate, device_name, ok_to_block));
diff --git a/gr-audio/lib/oss/audio_oss_source.cc b/gr-audio/lib/oss/audio_oss_source.cc
index f52af1bb8..b7d53931d 100644
--- a/gr-audio/lib/oss/audio_oss_source.cc
+++ b/gr-audio/lib/oss/audio_oss_source.cc
@@ -38,7 +38,7 @@
#include <iostream>
#include <stdexcept>
-AUDIO_REGISTER_SOURCE(oss)(
+AUDIO_REGISTER_SOURCE(REG_PRIO_LOW, oss)(
int sampling_rate, const std::string &device_name, bool ok_to_block
){
return audio_source::sptr(new audio_oss_source(sampling_rate, device_name, ok_to_block));