Forum / NoMachine for Raspberry Pi / No sound from remote host
- This topic has 3 replies, 2 voices, and was last updated 5 years, 3 months ago by
witek.
-
AuthorPosts
-
July 6, 2020 at 16:13 #28407
mlavespereParticipantI’m running NoMachine 6.11.2 server on a Pi 3 (Buster 10.4) and can’t get audio on my remotes (Ubuntu 20.04 and MacOS 10.15.5). The two screen captures show what seems to be the problem. In screen1.png you can see that my active audio source is “PCM2901 Audio Codec Analog Stereo”. But in screen2.png I am unable to select that source. Only “Monitor of PCM2901 Audio Codec Analog Stereo” can be selected.
When using the Professional version of [removed] I am able to select to “PCM2901 Audio Codec Analog Stereo” and audio works fine on my remotes.
Any help would be appreciated.
Attachments:
July 8, 2020 at 18:20 #28453
witekParticipantHi,
Do you want to transmit audio stream from the input device “PCM2901 Audio Codec Analog Stereo” to the client side (Ubuntu and MacOS)?
NoMachine uses default sink (output device) on the server side (Linux), then reads audio stream using monitor of this sink and transmits data to the other side. You cannot change this monitor when NoMachine start to record audio. That’s why you are not able to select source other than “Monitor of PCM2901 Audio Codec Analog Stereo” in the Recording tab of pavucontrol.
What is your default sink (output device) when the NoMachine session is running? You can check this in the pavucontrol or by using command in terminal:
pactl info | grep DefaultJuly 9, 2020 at 14:29 #28458
mlavespereParticipantYes, I want to stream PCM2901 to my NoMachine clients. Here’s the output from pacts:
pi@raspberrypi:~ $ pactl info | grep Default
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
Default Source: alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
Those USB devices are the audio in and out of the device I want to listen to remotely. Thanks for the help.
July 13, 2020 at 14:46 #28507
witekParticipantIn this case you can try to use PulseAudio loopback module which will redirect audio stream from your input device to the default output device. Please run the following command on the server and then verify audio on the client side:
pactl load-module module-loopback source=alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereoThis loaded loopback will be also visible in pavucontrol (Playback and Recording tab).
-
AuthorPosts
This topic was marked as solved, you can't post.


