visual studio 2008 QT project with c++
-
Hello! I had an error in my project created with QT and C++ I created Server which gets data from AudioInput and gives it to UDP Socket, there is no problem, but in Client's project I had a problem, when I tried to write data to AudioOutput device after UDP Socket gets this data from net in my project error was in this line "int l = audioSource->read(audioBuffer,input);" in "qaudiooutput_win32_p.cpp" and this is Call Stack at time debugging which shows this QtMultimediad4.dll!QAudioOutputPrivate::deviceReady() Line 579 + 0x1c bytes C++ QtMultimediad4.dll!QAudioOutputPrivate::qt_static_metacall(QObject * _o=0x00b53308, QMetaObject::Call _c=InvokeMetaMethod, int _id=1, void * * _a=0x00b51d20) Line 52 + 0x8 bytes C++ what I did wrong PLEASE HELP!!!!! :(
-
Hello! I had an error in my project created with QT and C++ I created Server which gets data from AudioInput and gives it to UDP Socket, there is no problem, but in Client's project I had a problem, when I tried to write data to AudioOutput device after UDP Socket gets this data from net in my project error was in this line "int l = audioSource->read(audioBuffer,input);" in "qaudiooutput_win32_p.cpp" and this is Call Stack at time debugging which shows this QtMultimediad4.dll!QAudioOutputPrivate::deviceReady() Line 579 + 0x1c bytes C++ QtMultimediad4.dll!QAudioOutputPrivate::qt_static_metacall(QObject * _o=0x00b53308, QMetaObject::Call _c=InvokeMetaMethod, int _id=1, void * * _a=0x00b51d20) Line 52 + 0x8 bytes C++ what I did wrong PLEASE HELP!!!!! :(
-
Hello! I had an error in my project created with QT and C++ I created Server which gets data from AudioInput and gives it to UDP Socket, there is no problem, but in Client's project I had a problem, when I tried to write data to AudioOutput device after UDP Socket gets this data from net in my project error was in this line "int l = audioSource->read(audioBuffer,input);" in "qaudiooutput_win32_p.cpp" and this is Call Stack at time debugging which shows this QtMultimediad4.dll!QAudioOutputPrivate::deviceReady() Line 579 + 0x1c bytes C++ QtMultimediad4.dll!QAudioOutputPrivate::qt_static_metacall(QObject * _o=0x00b53308, QMetaObject::Call _c=InvokeMetaMethod, int _id=1, void * * _a=0x00b51d20) Line 52 + 0x8 bytes C++ what I did wrong PLEASE HELP!!!!! :(
Could be that the audio device is being locked up by the other caller. You don't show the actual error code but the function where it stalls out would indicate that he's checking if the device is ready. You should post the actual error output instead of the call stack. Also, this is likely a problem with how you're using Qt, so you may be better off asking for help in a Qt forum.