You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on project with BLE. I have some problems with underrun (sometimes sound gets coppy - i do not know how to explain it better). I'm already on custom board and I't inconvinient to connect to serial, so I try to debug everything via BLE.
Can I ask audio to tell me if underrun occured (i.e. loop was too long)?
Best regards!
The text was updated successfully, but these errors were encountered:
This is difficult, there is nothing to recognise empty DMA. If you have a sample rate of 44.1KHz and the DMA memory has a size of 8KBytes then you can bridge 0.05s in the best case (4Bytes per sample * 41KHz results in about 160K samples/s) audio.loop() should therefore be called more than 20 times per second, in practice about 30 ... 100 times per second.
Hi!
I'm working on project with BLE. I have some problems with underrun (sometimes sound gets coppy - i do not know how to explain it better). I'm already on custom board and I't inconvinient to connect to serial, so I try to debug everything via BLE.
Can I ask audio to tell me if underrun occured (i.e. loop was too long)?
Best regards!
The text was updated successfully, but these errors were encountered: