Jeanbono
29-12-2008 08:55:38
Hi and thanks for this gread add-ons 
I use OgreOggSound V1.0 and it works fine with my app in release mode but when I switch in debug mode (all libs and includes are correctly linked), my application don't play any sound and crash at the end.
Debug mode log:
So I put comments to disable OgreOggSound's fonctions and work well in debug mode.
Same thing with compiled applications cames from svn's demo.
(I use vc++2005/ogre 1.6)
I forgot...do you have some examples about using EAX effects with OgreOggSound ?
[edit: I saw the code inside MainApp.cpp from the svn...my problem is half solved;) ]
[edit2: Instead of putting comments to disable OgreOggSound, I made:
]
Best regards.
I use OgreOggSound V1.0 and it works fine with my app in release mode but when I switch in debug mode (all libs and includes are correctly linked), my application don't play any sound and crash at the end.
Debug mode log:
09:20:29: ***********************************
09:20:29: *** --- Initialising OpenAL --- ***
09:20:29: ***********************************
09:20:30: *** --- OpenAL version 1.1
09:20:30: *** --- AVAILABLE DEVICES --- ***
09:20:30: *** --- SB X-Fi Audio [D000]
09:20:30: *** --- Generic Hardware
09:20:30: *** --- Generic Software
09:20:30: *** --- Choosing: SB X-Fi Audio [D000] (Default device)
09:20:30: *** --- OpenAL Device successfully created
09:20:30: *** --- OpenAL Context successfully created
09:20:30: *** --- SUPPORTED FORMATS
09:20:30: *** --- EFX Detected
09:20:30: *** --- 0 Auxiliary Effect Slot(s)
09:20:30: *** --- 1 Auxiliary Send(s) per Source
09:20:30: *** --- EFFECTS SUPPORTED:
09:20:30: *** --- 'Reverb' Support: YES
09:20:30: *** --- 'EAX Reverb' Support: YES
09:20:30: *** --- 'Chorus' Support: YES
09:20:30: *** --- 'Distortion' Support: YES
09:20:30: *** --- 'Echo' Support: YES
09:20:30: *** --- 'Flanger' Support: YES
09:20:30: *** --- 'Frequency shifter' Support: YES
09:20:30: *** --- 'Vocal Morpher' Support: YES
09:20:30: *** --- 'Pitch shifter' Support: YES
09:20:30: *** --- 'Ring modulator' Support: YES
09:20:30: *** --- 'Autowah' Support: YES
09:20:30: *** --- 'Compressor' Support: YES
09:20:30: *** --- 'Equalizer' Support: YES
09:20:30: *** --- FILTERS SUPPORTED:
09:20:30: *** --- 'Low Pass' Support: YES
09:20:30: *** --- 'High Pass' Support: NO
09:20:30: *** --- 'Band Pass' Support: NO
09:20:30: *** --- XRAM NOT Detected
09:20:30: *** --- EAX 3.0 Detected
09:20:30: *** --- Created 63 sources for simultaneous sounds
09:20:30: *** --- Using BOOST threads for streaming
09:20:30: ***********************************
09:20:30: *** --- OpenAL Initialised --- ***
09:20:30: ***********************************So I put comments to disable OgreOggSound's fonctions and work well in debug mode.
Same thing with compiled applications cames from svn's demo.
(I use vc++2005/ogre 1.6)
I forgot...do you have some examples about using EAX effects with OgreOggSound ?
[edit: I saw the code inside MainApp.cpp from the svn...my problem is half solved;) ]
[edit2: Instead of putting comments to disable OgreOggSound, I made:
#if _DEBUG
#else
mSoundManager = new OgreOggSound::OgreOggSoundManager();
if (mSoundManager->init())
{
newSound = mSoundManager->createSound("Intro", "test.ogg", false, true, false);
newSound->play();
}
#endif]
Best regards.