Menu

Using PulseAudio Null Sink

2022-11-02
2022-11-03
  • Mark J. Fine

    Mark J. Fine - 2022-11-02

    I've bought a new Lenovo laptop to host what used to be Win11 and Fedora VMs on my old Intel Mac. Have just rebuilt Dream 2.2.1 in Linux and am trying to get GQRX to pipe audio to it using:

    $ pactl load-module module-null-sink sink_name=multimon-target sink_properties=device.description="multimon-target"
    

    The pipe works, because I'm able to record from it using Audacity. Similarly, Dream sees it as a valid input, but crashes if I select it. It likes using the microphone inputs just fine, but I'm certain there's something else I'm missing. GQRX is set to output 48000bps PCM, but that shouldn't be a problem.

    Message before crash is:

    pulseaudio input device 'multimon_target.monitor' init done
    Assertion 's' failed at ../src/pulse/stream.c:2663, function pa_stream_set_buffer_attr(). Aborting.
    Aborted (core dumped)
    

    Anyone have any ideas?

     
  • Mark J. Fine

    Mark J. Fine - 2022-11-03

    Ok... Never mind. Found a possible bug in src/sound/drm_pulseaudio.cpp:480 where the actual stream was null. Wrapping the contents of the ifdef in an if (pa_s) { } fixes the problem.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.