[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ALSAPulseAudio procedure
From: |
Barry Duggan |
Subject: |
ALSAPulseAudio procedure |
Date: |
Mon, 29 Jun 2020 22:00:57 +0000 |
User-agent: |
Roundcube Webmail/1.4.4 |
I have been having problems with audio underruns on some of my
flowgraphs, so I decided to try the procedure in
https://wiki.gnuradio.org/index.php/ALSAPulseAudio#Solution_2
I found one entry (other than HDMI) for my speakers and created the
following for ~/.asoundrc :
pcm.pulse_monitor {
type pulse
device alsa_output.pci-0000_0f_00.4.analog-stereo.monitor
}
ctl.pulse_monitor {
type pulse
device alsa_output.pci-0000_0f_00.4.analog-stereo.monitor
}
I changed my Audio Sink device name to 'pulse_monitor' and got the
following error:
ALSA lib pcm_pulse.c:752:(pulse_prepare) PulseAudio: Unable to create
stream: No such entity
gr::log :ERROR: audio_alsa_sink0 - [pulse_monitor]: snd_pcm_hw_params
failed: Input/output error
Traceback (most recent call last):
File "/home/barry/GRdev/Pluto_NFM.py", line 216, in <module>
main()
File "/home/barry/GRdev/Pluto_NFM.py", line 194, in main
tb.start()
File "/usr/local/lib/python3/dist-packages/gnuradio/gr/top_block.py",
line 111, in start
top_block_start_unlocked(self._impl, max_noutput_items)
File
"/usr/local/lib/python3/dist-packages/gnuradio/gr/runtime_swig.py", line
5828, in top_block_start_unlocked
return _runtime_swig.top_block_start_unlocked(r, max_noutput_items)
RuntimeError: check topology failed on audio_alsa_sink(9) using
ninputs=1, noutputs=0
Using the device name "hw:CARD=Generic,DEV=0" works, but gives the
underruns. I'm using Ubuntu 19.10.
Any ideas?
Thanks.
--
Barry Duggan KV4FV
- ALSAPulseAudio procedure,
Barry Duggan <=