0
0

Hi,

I use FMOD 3.71 with Visual Studio 6.0 SP5 on WINXP.

If I call Details in the fmodsample the function FSOUND_Stream_GetNumTagFields returns numinfo=7 for test1.mp3. But in my code FSOUND_Stream_GetNumTagFields returns TRUE and numinfo=0. 😥

int main(int argc, char* argv[])
{
int numinfo;
FSOUND_STREAM *stream = NULL;

if (FSOUND_Init(44100, 128, FSOUND_INIT_GLOBALFOCUS)
    return 1;

stream = FSOUND_Stream_Open("c:\\test1.mp3", FSOUND_NORMAL | FSOUND_2D | FSOUND_MPEGACCURATE | FSOUND_NONBLOCKING, 0, 0);

if (stream == NULL)
{
    FSOUND_Close();
    return 1;
}

int ret = FSOUND_Stream_GetNumTagFields(stream, &numinfo);

// ret = 1, but numinfo=0 (fmodsample.exe -> numinfo=7)

...

}

What did I wrong?

Regards,
e31

  • You must to post comments
0
0

Bad mistake. Thanks! Works fine. 😀

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.