Qaudiooutput causing underruns
-
i am trying to build a tone playing class for simulating button effect for embedded device, the current symptom which i see, is i can play sound on pc but when it comes to embedded device target, i get underruns and the duration is not constantly played every time i click on the button.
i am using QAudiooutput, when i searched i found the notification signal but why should i use it, i don't have a slider to update, just one button in a window for example. I am getting Alsa Underruns. When i play using aplay sound.wav many times, i get the same effect.
the sound card has a filter module (coprocessor), could it be in the driver, do i need to change the kernel, i am using kernel 5.10.17.
how to check the alsa buffer?
Any idea how to solve it?