It works well with soundcard supported Hardware Accellation..
To supported non hardware accellated sound card
I tested like this ..
FSOUND_SetMinHardwareChannels( 256 ); // my soundcard’s hardware buffer is 32…
then FMOD would run in software mode..
Problem is 2D sound sample played 3D sound like..
( I think.. it is Panning.. sounds awfull )
p.s : 2D sound sample loaded with flag ( FSOUND_NORMAL | FSOUND_2D )
- jongwook kim asked 14 years ago
everytime playing sounds.. set loop or not..
FSOUND_Sample_SetMode( pFS, FSOUND_LOOP_NORMAL );
FSOUND_Sample_SetMode( pFS, FSOUND_LOOP_OFF );
r = FSOUND_PlaySoundEx( FSOUND_FREE, pFS, 0, true );
FSOUND_3D_SetAttributes( r, (const float)pos, (const float)vel );
FSOUND_SetPriority( r, priority );
FSOUND_SetVolume( r, vol );
FSOUND_SetPaused( r, false );
maybe inital setting has problem..
FSOUND_SetMinHardwareChannels( 256 ); //to run software mode
FSOUND_Init(maxrate, 16, 0 );
and following code is loading wave file…
FSOUND_SAMPLE* r = FSOUND_Sample_Load(FSOUND_FREE, Buffer, (FSOUND_NORMAL | FSOUND_2D | FSOUND_LOADMEMORY), 0, SoundFileLength)
at win2k, Avance AC97 Audio, Radeon 9600 pro
my problem is 2d sound works like 3d sound in software mode
beside I didn’t test in soundcard with non-surpported 3d accellation..
I’m afraid that It would be sounds like this…
and if it can be done with FOUND_Init
Could you tell me more specifically?
Please login first to submit.