≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Isound invalid pointer
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b]klime[/b] wrote: hello all i'm new with irrklang and i have a probleme with the Isound pointer it's always null here is some code : [code]void C_reader::loadMusic(QString path) { m_sound = m_engine->play2D(path.toStdString().c_str()); if (!m_sound) { qDebug()<<"sound not loaded"; } } void C_reader::Pause() { m_engine->setAllSoundsPaused(); m_pos = m_sound->getPlayPosition(); } void C_reader::Resume() { m_sound->setPlayPosition(m_pos); }[/code] when loadMusic is called i can hear the sound but when i call Pause() the the program crashes. debug output : irrKlang sound library version 1.5.0 Loaded plugin: ikpflac.dll Loaded plugin: ikpmp3.dll Using DirectSound8 driver sound not loaded <<<<<<---- why ??[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact