#include <nitro/snd.h>
SNDInstPos SND_GetFirstInstDataPos( const SNDBankData* bank );
Gets the positional information for the instrument data scan in the bank data.
By passing the obtained positional information to the SND_GetNextInstData
function, the SNDInstData
format instrument data can be obtained in order.
SNDInstPos pos = SND_GetFirstInstDataPos( bank ); SNDInstData inst; while( SND_GetNextInstData( bank, &inst, &pos ) ) { // Process to perform for the instrument }
SND_GetNextInstData
, SNDInstData
01/20/2005 Initial version