Qt QAudioOutput error while playing from file

I implemented a simple Qt program based on an example in the QAudioOutput documentation here .

The program plays raw audio from a file using QAudioOutput when I click the button.

The sound plays fine, but I get Got a buffer underflow! at the end of the file before QAudioOutput changes to the idle state.

Is this a normal indication that QAudioOutput reached the end of the file and I should ignore it, or does it indicate that QAudio crossed out the end of the file and that I should somehow access it

+6
source share

Source: https://habr.com/ru/post/984101/


All Articles