Hi,
Adding static_cast<const char*> (...) around the QString objects seems like fixing the problem.
if (AudioDevice::getInputMixerDeviceList().contains(static_cast<const char*> (inputDeviceName)) > 0) {
But there are still so many of them in the code, so If there is a better way to avoid those assertion failures, please let me know.
Could it be compiler version issue? (I'm using the VS 2003 and Qt 3.3.5 Evaluation copy).
Best regards,
-Onur
On 12/26/05, Onur Cinar <[EMAIL PROTECTED]> wrote:
Hi,
I have recently downloaded the WengoPhone source code from the SVN. After compiling the code in Debug Mode, I'm getting an assertion failure "_BLOCK_TYPE_IS_VALID(pHead->nBlockUse)" right after I start the application.
Debugging the code took me to gui\config\Audio.cpp void Audio::setInputDevice(const QString & inputDeviceName) method.
However, I believe that the problem is actually related to something that I'm doing wrong while compiling; so, rather than messing with the code, I decided to drop a line to the mailing list.
Thanks in advance for your help,
-Onur
_______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
