I started from audacity-minsrc-2.2.0/src/toolbars/MixerToolBar.cpp and went backwards in the code to portmixer, which uses portaudio functionssteve wrote:Fancy that I assumed it was supposed to be like thatAudioHerbert wrote:I just copied the functions PaAlsa_GetStreamInputCard and PaAlsa_GetStreamOutputCard from stable.
Now the MixerToolBar uses the PCM of the selected card.
Can you post a link to where you discovered that? I'm aware that one of the Audacity developers is intending to fix some issues with Pulse, so this could be highly relevant.
so i landed here audacity-minsrc-2.2.0/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c
I put some code together to test pulsemixer/pulseaudio from the examples and found out that it is fixed in stable PortAudio
And because the latest PortAudio doesn't work with Audacity i compared it with stable portaudio and found the difference...