QAudioOutput constructor hangs in PyQt6

ekhumoro ekhumoro at gmx.com
Sun Apr 12 15:27:05 BST 2026


On 12/04/2026 14:38, Phil Thompson wrote:
> On 12/04/2026 13:50, ekhumoro wrote:
>> For me, this only hangs (i.e. does not print 'SUCCESS!') when the
>> message-handler is installed.
> 
> This prints SUCCESS! and hangs whether or not the message handler is installed.

Okay, many thanks - that sounds like it fixes all the issues I was concerned about. (By "hang", I meant "stops execution 
of the Python code at the point when QAudioOutput() is called", rather than within Qt or when control later returns to 
the event-loop). I will of course try the next snapshot when it appears.


More information about the PyQt mailing list