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

Developer

Forums

Forums:

after ISOUNDPLAYER_Stop( app->soundPlayer ) ,I use ISOUNDPLAYER_SetInfo ,it return EITEMBUSY,

you may need to wait for the callback function.
Quote:ISOUNDPLAYER_Stop()
The result of the operation is sent to the client through the callback function pointer. The status can be one of the following values:
AEE_SOUNDPLAYER_SUCCESS Successful and accepted the stop command.
AEE_SOUNDPLAYER_FAILURE Failed and did not accept the stop command.
If this operation is successful, the function also triggers another event to be sent to the client with the AEE_SOUNDPLAYER_DONE or MM_STATUS_ABORTED value for the playback transaction.

you may need to wait for the callback function.
Quote:ISOUNDPLAYER_Stop()
The result of the operation is sent to the client through the callback function pointer. The status can be one of the following values:
AEE_SOUNDPLAYER_SUCCESS Successful and accepted the stop command.
AEE_SOUNDPLAYER_FAILURE Failed and did not accept the stop command.
If this operation is successful, the function also triggers another event to be sent to the client with the AEE_SOUNDPLAYER_DONE or MM_STATUS_ABORTED value for the playback transaction.