summaryrefslogtreecommitdiff
path: root/gr-audio/lib/alsa
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio/lib/alsa')
-rw-r--r--gr-audio/lib/alsa/audio_alsa_sink.cc2
-rw-r--r--gr-audio/lib/alsa/audio_alsa_source.cc2
2 files changed, 2 insertions, 2 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));
diff --git a/gr-audio/lib/alsa/audio_alsa_source.cc b/gr-audio/lib/alsa/audio_alsa_source.cc
index a8667361e..e46a7fdd4 100644
--- a/gr-audio/lib/alsa/audio_alsa_source.cc
+++ b/gr-audio/lib/alsa/audio_alsa_source.cc
@@ -33,7 +33,7 @@
#include <stdexcept>
#include <gri_alsa.h>
-AUDIO_REGISTER_SOURCE(alsa)(
+AUDIO_REGISTER_SOURCE(REG_PRIO_HIGH, alsa)(
int sampling_rate, const std::string &device_name, bool ok_to_block
){
return audio_source::sptr(new audio_alsa_source(sampling_rate, device_name, ok_to_block));