I was wondering if it is possible to have the RPi audio output (when using the jack) use only one of the PWM channels (e.g. PWM1 which correspond to the left channel), and let the other be used by another application.
Currently, if I do
Code: Select all
gpio -g mode 18 pwm
Code: Select all
aplay: pcm_write:1939: write error: Input/output error
I did not find any option for the bcm2835 driver but maybe I missed something, or maybe it's possible to patch the driver to achieve this?
(I'm mainly interested by a solution for the RPi Zero, where I'd like a mono audio output on GPIO 19, and be able to use GPIO 18 for something else, but I guess that a solution would work for any RPi).
Thanks!