Mus Library Reference
|
MusHandleGetPtrBank()
Get the sample bank address.
Syntax
void *MusHandleGetPtrBank(musHandle handle);
Arguments
- handle is the sound handle
Explanation
Get the address of the sample bank being used by the channels associated with the specified sound handle as they are currently being processed.
The handle must be a sound handle returned by MusStartSong(), MusStartSongFromMarker(), MusStartEffect() or MusStartEffect2(). If an handle of zero is supplied, this function will always return zero.
Return Value
Sample bank address.
Example
void GameSongSetFxBank(musHandle song_handle, void *fx_bank)
{
void *ptr_bank;
ptr_bank = MusHandleGetPtrBank(song_handle);
MusFxBankSetPtrBank(fx_bank, ptr_bank);
}
See Also
MusPtrBankInitialize()
MusPtrBankGetCurrent()
MusPtrBankSetCurrent()
MusPtrBankSetSingle()
MusStartSong()
MusStartEffect()
MusStartEffect2()
|
Nintendo® Confidential
Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998-1999
Nintendo of America Inc. All rights reserved Nintendo and N64 are registered trademarks of Nintendo
Last updated March 1999
|