Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

ISOUNDPLAYER_Set(pApp->pISoundPlayer, SDT_BUFFER, pApp->m_BodyBuffer);

You might try ISOUNDPLAYER_SetInfo, works fine here...

You might try ISOUNDPLAYER_SetInfo, works fine here...

in the emulator:
-----------------------
_sndCurrentPlayerInfo.pData = buffer; // the mp3 file data
// this doesn't work (with SDT_BUFFER)
ISOUNDPLAYER_SetInfo(_pISoundPlayer, &_sndCurrentPlayerInfo);
// this doesn't work
ISOUNDPLAYER_Set(_pISoundPlayer, SDT_BUFFER, _sndCurrentPlayerInfo.pData);
// this works
ISOUNDPLAYER_Set(_pISoundPlayer, SDT_FILE, "sound/test.mp3");
-----------------------
why ????
in which format the buffer has to be ?
is this an emulator bug (emulator 6550_vert and emulator vx9800) ?

in the emulator:
-----------------------
_sndCurrentPlayerInfo.pData = buffer; // the mp3 file data
// this doesn't work (with SDT_BUFFER)
ISOUNDPLAYER_SetInfo(_pISoundPlayer, &_sndCurrentPlayerInfo);
// this doesn't work
ISOUNDPLAYER_Set(_pISoundPlayer, SDT_BUFFER, _sndCurrentPlayerInfo.pData);
// this works
ISOUNDPLAYER_Set(_pISoundPlayer, SDT_FILE, "sound/test.mp3");
-----------------------
why ????
in which format the buffer has to be ?
is this an emulator bug (emulator 6550_vert and emulator vx9800) ?