Home > Mobile >  QSoundEffect play the audio is the main thread blocking, how to solve
QSoundEffect play the audio is the main thread blocking, how to solve

Time:10-04

QSoundEffect play the audio is the main thread blocking, lead to play audio sound off and on, have a great god can help to solve this problem?

CodePudding user response:

refer to the original poster, shuicheng son reply:
QSoundEffect play the audio is the main thread blocking, lead to play audio sound off and on, have a great god can help to solve this problem?


QT under the thread pool to understand

CodePudding user response:

Create a thread, the child thread that executes
  •  Tags:  
  • Qt
  • Related