I use Rtaudio library.
I would like to implement an audio program where I can control the panning (e.g. shifting the sound from the left channel to the right channel).
In my specific case, I use a duplex mode (you can find an example here: duplex mode). It means that I link the microphone input to the speaker output.
I seek on the web, but I did not find anything useful.
Should I apply a filter on the output buffer? What kind of filter?
Can anyone help me?