Page 2 of 2

Re: BUG in MixerToolBar with two soundcards?

Permanent link to this postPosted: Fri Dec 01, 2017 7:54 pm
Posted by AudioHerbert
steve wrote:
AudioHerbert wrote:I just copied the functions PaAlsa_GetStreamInputCard and PaAlsa_GetStreamOutputCard from stable.

Now the MixerToolBar uses the PCM of the selected card.

Fancy that :shock: I assumed it was supposed to be like that :mrgreen:

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.


I started from audacity-minsrc-2.2.0/src/toolbars/MixerToolBar.cpp and went backwards in the code to portmixer, which uses portaudio functions
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...