Howdy,
I have created an application which sequences various audio parts into one. I am getting a strange behavior which changes randomly. Stereo input files (WAV PCM 48K) that I load are sometimes played in mono and sometimes in stereo with no apparent logic behind it.
I am using FMOD Ex 4.24.5 on MS Windows Server 2003 64 SP2.
These are the lines where I load fmod:
[code:jiunzu0o]fmodSystem->setOutput(FMOD_OUTPUTTYPE_WAVWRITER_NRT);
fmodSystem->setSoftwareFormat(44100, FMOD_SOUND_FORMAT_PCM16, 0, 0, FMOD_DSP_RESAMPLER_LINEAR);
fmodSystem->init(32, FMOD_INIT_STREAM_FROM_UPDATE, (void *)outputFilename.c_str());
[/code:jiunzu0o]
Do you have any idea?
Thanks a lot,
Eran
- klommenz asked 9 years ago
- You must login to post comments
Are you using FMOD_SOFTWARE and making sure they’re not 3d? Ie FMOD_2D?
- Brett Paterson answered 9 years ago
- You must login to post comments
I’d say try it on a different machine. Playing a stereo sound will never sound mono unless
1. your sound is not stereo, it is mono
2. your sound card is doing something to the output which you dont know about.
3. you’re calling setSpeakerLevels/setSpeakerMix/setPan
There is no other reason for it to sound mono.
- Brett Paterson answered 9 years ago
- You must login to post comments
Thank you for your answer.
I’ve tried creating sounds with:
FMOD_DEFAULT
FMOD_HARDWARE | FMOD_2D
FMOD_SOFTWARE | FMOD_2D
and i keep getting the same problem. Any other ideas?
- klommenz answered 9 years ago
- You must login to post comments
Please login first to submit.