0
0

Hello!

My Visual C++ Code:

.
.
.
CString fileToPlay = m_ftp;

    FSOUND_SAMPLE * samp1;

    FSOUND_SetBufferSize(200);

    int Channels = FSOUND_GetMaxChannels();
    if (Channels == 0)
        Channels = 32;

    ChannelWPlaying = Channels;

    FSOUND_Init(44100, Channels, 0);


    FSOUND_SetDriver(0);

    FSOUND_Init(pf, 32, 0);

    samp1 = FSOUND_Sample_Load(FSOUND_FREE, fileToPlay, FSOUND_LOOP_NORMAL , 0);


    FSOUND_PlaySound(FSOUND_FREE, samp1);

.
.
.

It works :smile: But FSOUND_Sample_Load takes very very long :sad: (12 sec. 5MB/MP3 – File)
Why??? Please help me!!! Thanks

Excuse my bad English – i am from Germany

  • You must to post comments
0
0

Okay, i found the mistake :smile:

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.