Audio not recorded on Pop OS

AudioRelay’s on linux is not sending audio to my windows machine

i started audio relay connected them both when i tried playing audio i was not receiving audio on my windows machine

i again connected them but this time my linux machine was gonna receive audio and it did work

i did see in the instructions that i have to create a virtual audio device

i tried typing in the terminal “pulseaudio -k” and it said install pulseaudio by typing “sudo apt install pulseaudio”

i tried it and i am getting this error

nexusreyli@pop-os:~$ sudo apt install pulseaudio
[sudo] password for nexusreyli:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pop-desktop : Depends: pipewire-alsa but it is not going to be installed
               Conflicts: pulseaudio
               Conflicts: pulseaudio:i386
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

audio relay was working when i first tried it, the audio relay version was 0.26 

idk if something broke in the new update

also this is the logs

2023-03-28 03:21:09:791 [INFO] Version: 0.27.3, os: Linux, osVersion: 6.2.6-76060206-generic
2023-03-28 03:21:10:371 [INFO] Initializing locale to en
2023-03-28 03:21:10:475 [INFO] Network addresses: NetworkInfo(broadcastAddresses=[10.27.27.255], localAddresses=[10.27.27.50])
2023-03-28 03:21:10:499 [INFO] Starting the server...
2023-03-28 03:21:10:513 [INFO] Waiting for devices from RtAudio…
2023-03-28 03:21:10:728 [INFO] Checking for update...
2023-03-28 03:21:11:225 [INFO] Showing main window...
2023-03-28 03:21:11:289 [INFO] Rendering api: OPENGL
2023-03-28 03:21:11:744 [INFO] Found no update
2023-03-28 03:24:59:523 [INFO] Remote device connected: 10.27.27.20
2023-03-28 03:24:59:540 [INFO] Received client config, clientVersion: 0.27.3, os: WINDOWS, osVersion: Windows 10
2023-03-28 03:25:00:105 [INFO] Audio pipeline is emitting values
2023-03-28 03:25:36:681 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:25:36:754 [INFO] Sentry initialized
2023-03-28 03:25:36:782 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:25:36:937 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:25:36:940 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:25:37:106 [INFO] No data emitted by pipeline, sending empty values...
2023-03-28 03:25:37:202 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:25:37:202 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:25:37:628 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:25:37:629 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:25:38:466 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:25:38:467 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:25:39:606 [INFO] Audio pipeline is emitting values
2023-03-28 03:53:37:681 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:53:37:682 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:53:37:827 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:53:37:827 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:53:38:068 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:53:38:068 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:53:38:505 [WARN] System error: SystemErrorId(value=RTAUDIO_CAPTURE_ERROR)
2023-03-28 03:53:38:505 [ERROR] Audio capture failed: com.azefsw.audioconnect.desktop.exceptions.RtAudioException: Opening the input stream failed
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(Native Method)
	at com.azefsw.audioconnect.audio.RtAudioJni.openInputStream(SourceFile:8)
	at UE0.a(SourceFile:159)
	at UE0.a(SourceFile:84)
	at QE0.invokeSuspend(SourceFile:29)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at mj.run(SourceFile:19)
2023-03-28 03:53:38:605 [INFO] No data emitted by pipeline, sending empty values...
2023-03-28 03:53:39:605 [INFO] Audio pipeline is emitting values
2023-03-28 04:07:36:811 [ERROR] Stopping the session due to an error: ab0: java.net.SocketException: Connection reset
	at Za0.a(SourceFile:6)
	at jR0.a(SourceFile:44)
	at Hh0.b(SourceFile:5)
	at qh0.a(SourceFile:134)
	at Aj0.run(SourceFile:1)
	at YF0.invoke(SourceFile:1)
	at AS.invokeSuspend(SourceFile:6)
	at AS.invoke(SourceFile:1)
	at rh1.a(SourceFile:136)
	at egt.a(SourceFile:41)
	at aG0.a(SourceFile:139)
	at ZF0.invoke(SourceFile:2)
	at au.invokeSuspend(SourceFile:1)
	at y7wL.resumeWith(SourceFile:5)
	at Tt.run(SourceFile:163)
	at Z30.run(SourceFile:4)
	at H91.run(SourceFile:1)
	at mj.run(SourceFile:19)
Caused by: java.net.SocketException: Connection reset
	at java.base/sun.nio.ch.NioSocketImpl.implRead(Unknown Source)
	at java.base/sun.nio.ch.NioSocketImpl.read(Unknown Source)
	at java.base/sun.nio.ch.NioSocketImpl$1.read(Unknown Source)
	at java.base/java.net.Socket$SocketInputStream.read(Unknown Source)
	at java.base/java.net.Socket$SocketInputStream.read(Unknown Source)
	at bs7.a(SourceFile:20)
	at vH.a(SourceFile:12)
	at jR0.a(SourceFile:11)

im not tech savi btw

srry if my english is bad

Hello @Terqz,

If you have Pop!_OS 22.04 or more, you should have PipeWire instead of PulseAudio. That would be why the pactl isn’t available.

Could you please see if this works for you?

  1. Create the file
    ~/.config/pipewire/pipewire.conf.d/10-audiorelay.conf

  2. Copy and paste this into it

context.objects = [
    { factory = adapter
       args = {
           factory.name     = support.null-audio-sink
           node.name        = "audiorelay-virtual-mic-sink"
           node.description = "Virtual-Mic-Sink"
           media.class      = "Audio/Sink"
           audio.position   = "FL,FR"
       }
    }

    { factory = adapter
       args = {
           factory.name     = support.null-audio-sink
           node.name        = "audiorelay-virtual-speaker-sink"
           node.description = "Virtual-Speaker"
           media.class      = "Audio/Sink"
           audio.position   = "FL,FR"
       }
    }
]
  1. Run this so PipeWire loads the config
    systemctl --user restart pipewire.service

  2. Restart AudioRelay

Now, you should be able to use Monitor of Virtual-Speaker in AudioRelay.

If it still doesn’t work, please try this version.

audiorelay-0.27.4.deb
audiorelay-0.27.4.tar.gz

The logs should have slightly more details about the error.

That does not work. I am also on Pop_OS 22.04. Trying to get my Android 13 device to work as a mic. Virtual-Mic-Sink and Virtual-Speaker appear, but Monitor-of-xxxx does not appear in AudioRelay. I am on AudioRelay 0.27.5

This worked for me!

Monitor-of-xxxx did not appear. But Virtual-Speaker did the job.
I opened pavucontrol and set it as the default output.