Quote Originally Posted by janK View Post
That is true, but that does not explain why the Audiosink opens without error and then goes into state Idle. especially when the QIODevice reports that opening is fine, The result is that in the end no bytes are read.
If I understand the documentation, then the Audiosink goes into state Idle if there is no input, but I ensured that a buffer is filled, and then no element of the buffer is read
And again, using Linux, it works fine, so either the Windows version should have worked, or the Linux version works while it should not

I think the basic quesiton is
if the creation of a QIODevice and the creation of an QAudioSink is also without errors,
under what conditions changes the AudioSink the state to "Idle"

I checked again btw that while sthe "start" of the QIODevice is - according to the QIODevice = without problems, the "readData" function
is not called at all. So, it seems that the AudioSink does not see that the readData function can be called

Anyway, in the documentation I do not find any clue of why this behavious happens under Windows