Re: Usage question for pulseaudio on MacOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FWIW I was able to get this working fairly well. My current understanding of the issue is that none of the system applications on MacOS are sending their output to the pulseaudio client API (unlike Ubuntu, which seems to send all output through pulseaudio).

So rather than writing my own MacOS application to grab output from the microphone and send it to pulseaudio, I'm using parec and pacat:

parec -d <name of input device> --latency 1 | pacat --latency 1

That successfully creates a source output stream from the microphone and plays it via the default sink (the --latency flag helps a lot, by default there's a decent delay).

Combined with the SoundFlower audio kernel driver for MacOS, I'm able to capture any sound sent to the default audio output.

On Fri, Apr 5, 2019 at 7:34 PM Weston Thayer <me@xxxxxxxxxxxxxxxx> wrote:
Hi,

I am trying to get pulseaudio to serve sound from any software on MacOS (particularly the VoiceOver screen reader's speech synthesizer). Apologies if these are simple usage questions, I'm new to this, but I've reviewed the documentation carefully and am still confused.

I installed pulseaudio from homebrew successfully. paplay is working (I'm able to connect a pulseaudio client and hear my test.wav play successfully). However, no application or microphone audio is being sent. I have two sources available, "Built-in Microphone" and "Monitor of Built-in Output". Both are in the SUSPENDED state. I have used set-default-source to switch between them, but no luck.

I have two questions:
  • Why isn't the "Built-in Microphone" source active when my microphone is in use?
  • Is my understanding of "Monitor of Built-in Output" correct in that it should capture any audio sent by applications?
Here is the full verbose output of pulseaudio -vv.

Thank you,
Weston
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux