Sunday, October 27, 2013

[Discuss-gnuradio] default alsa value with pulseaudio

hi,

When using gnuradio with the default values [1] , the sound is
fragmented when played with pulseaudio .

Using the alsa device by name is acceptable, this not a best practice
[2]

multimode.py --ahw=hw:3,0


Changing the nperiods from 4 to 25 solves the issue and gnuradio play
nicely with pulseaudio


[audio_alsa]

default_input_device = default
default_output_device = default
period_time = 0.010
nperiods = 25 # 4 is too low for pulsaudio hook
verbose = false



I did not find any information about this issue or if this is related to
the value of min_nperiods, max_nperiods [3] with pulseaudio , those
values are not printed out .

is there a way to get a verbose output without recompiling from
source ?


thanks in advance


1 :
http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/master/annotate/gr-audio/lib/alsa/gr-audio-alsa.conf

2 : http://gnuradio.org/redmine/issues/551

3 :http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/master/entry/gr-audio/lib/alsa/alsa_source.cc#L182



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment