[Qt-interest] bloody ungraspable control of my pusbutton
S. Aguinaga
sa_jr at yahoo.com
Tue Feb 2 05:31:04 CET 2010
I left out that that my application is a linux application an I am running
qt 4.6
The audio access is based on alsa, I'm wondering why this method becomes
so strong and focused that even trying to quit the app does not responds.
Does this pieces of code need an interrupt of some type? What other instances
cause such a similar behavior?
I'm sure that there is some method that can address this issue. If you want me
to post the entire qt code, I can.
Thanks in advance.
// Sal
________________________________
From: S. Aguinaga <sa_jr at yahoo.com>
To: Qt Interest <Qt-interest at trolltech.com>
Sent: Mon, February 1, 2010 10:21:56 PM
Subject: bloody ungraspable control of my pusbutton
Dear Fellows,
I have a question for the best of you.
I have a button that initiates a tone stimulus using my audio device.
This stimulus is meant to be continuous until the pushbutton is toggled,
but what is happening is that once my code goes into the audio loop it
never allows control back to my pushbutton, in other words, I can't toggle it
and right now the only way out is to go to the terminal and do control-C.
here is the loop:
while ( contToneButton->isChecked() ) {
chk_msg();
c = (int) floor((1 + oct0) * ncue / 2);
cue(c);
(void) ar_io_cur_seg(dvid);
};
have any of you come across something like this an do you mind sharing
your methods?
Thank you
// Sal Aguinaga
// Northwestern University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100201/c0c92680/attachment.html
More information about the Qt-interest-old
mailing list