From 78f735f4174c2a0fe275da41252e227226af5b3b Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 9 Mar 2011 13:39:07 -0800 Subject: audio: register arches with priorities, ex: prefer alsa over oss --- gr-audio/lib/oss/audio_oss_sink.cc | 2 +- gr-audio/lib/oss/audio_oss_source.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-audio/lib/oss') 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 #include -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 #include -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)); -- cgit