Closed zytegalaxy closed 1 year ago
One possible work around is to enable and disable the pigpio daemon only when sending/receiving IP commands with Piir library. Another possibility is to ditch Piir all together and make ir-keytable and ir-ctl system utilities...
I have decided to disable pigpio daemon due to this conflict.
https://abyz.me.uk/rpi/pigpio/faq.html#Sound_isnt_working
Sound isn't working The Pi contains two pieces of hardware, a PWM peripheral and a PCM peripheral, to generate sound. The PWM peripheral is normally used and generates medium quality audio out of the headphone jack. The PCM peripheral may be used by add-ons such as HATs and generates high quality audio.
pigpio uses at least one of these peripherals during normal operation (for timing DMA transfers). pigpio will use both peripherals if waves or the hardware PWM function is used.
By default pigpio uses the PCM peripheral leaving the PWM peripheral free for medium quality audio.
You can change the default with a configuration option. For C use gpioCfgClock, for the pigpio daemon use the -t option.