0
0

This INIT :
//*****************************************************
FSOUND_SetHWND(Handle);
FSOUND_SetBufferSize(100); // Buffer del so
FSOUND_Stream_SetBufferSize(100); // Assigno el buffer de la Canço
FSOUND_SetOutput (FSOUND_OUTPUT_DSOUND); // Driver
FSOUND_SetMixer(FSOUND_MIXER_QUALITY_AUTODETECT); // Mixer
if FSOUND_Init(44100, 32, FSOUND_INIT_ENABLESYSTEMCHANNELFX) = FALSE then
begin
Application.MessageBox(FMOD_ErrorString(FSOUND_GetError), ‘FSOUND_Init’, MB_OK or MB_ICONHAND);
Halt;
end;

//*****************************************************
AND
this play

Stream := FSOUND_Stream_Open(PChar(strcalinandosya), FSOUND_NORMAL, 0,0);
FSong.Channel := FSOUND_Stream_Play(FSOUND_FREE, FSong.Stream);
//*****************************************************
this do aktif the equalizer
for i := 0 to 9 do
FSong.EqKanal[i] := FSOUND_FX_Enable(-1000, FSOUND_FX_PARAMEQ);
if not durakladi then
FSOUND_SetPaused(-1000, false);
Application.ProcessMessages;
for i := 0 to 9 do
FSOUND_FX_SetParamEQ(FSong.EqKanal[i], FSong.EqSlider[i].Tag, 37 – tbguc.Position, (30 – FSong.EqSlider[i].Position) – 15);

it is true or false

olso when if song (=*.mp3) about ending and if qualizer is open, computer is locked why?

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.