Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Audio recorder with Qt 4.5. How to tell the recording loop to stop recording using pushbutton?

$
0
0
Hi and welcome to devnet, It would be better if you could post the code you are using to record the data. Otherwise it would be pretty much crystal ball guessing. Since you have an infinite loop, you have to add a stop slot where you set the condition to stop the loop. void stop() {     _continue = false; }   void run() {     while (!_continue) {     // processing     } } This is just a basic idea, hope it helps

Viewing all articles
Browse latest Browse all 4972

Trending Articles