##### Sound Function - Sound Memory Control Function

# sdSndMemGetBankStat

Gets the bank status of Sound Memory

### FORMAT

`

  SDE_ERR sdSndMemGetBankStat( bank_type, bank_num, *adr, *sz )
  SDE_DATA_TYPE bank_type
  Sint8 bank_num
  Sint32 *adr
  Sint32 *sz

`

### PARAMETER

  `bank_type` | Bank type to check
  `bank_num` | Bank number to check
  `adr` | Starting address of bank
  `sz` | Size of bank

### RETURN

  SDE_ERR_NO_INIT | The Sound Library has not been initialized |
  SDE_ERR_DATA_ILLEGAL_TYPE | Illegal data type |

### DESCRIPTION

  Gets the bank status of Sound Memory.

  The argument `bank_type` which specifies the bank type to download can have the following specifications.

  SDE_DATA_TYPE_SND_DRV | Sound driver
  SDE_DATA_TYPE_MULTI_UNIT | Multi-unit
  SDE_DATA_TYPE_MIDI_SEQ_DATAMIDI | Sequence data
  SDE_DATA_TYPE_MIDI_SEQ_BANKMIDI | Sequence bank-MIDI sequence data grouping
  SDE_DATA_TYPE_MIDI_PRG_BANKMIDI | Program bank-tone group as MIDI sound source
  SDE_DATA_TYPE_SHOT_DATA | One-shot data
  SDE_DATA_TYPE_SHOT_BANK | One-shot bank-One-shot data grouping
  SDE_DATA_TYPE_PSTM_DATAPCM | Stream data (future support intended)
  SDE_DATA_TYPE_PSTM_RING_BUFPCM | Ring buffer for playing stream data. Doesn't actually exist as data, but is defined on management.
  SDE_DATA_TYPE_FX_OUT_BANKFX | Out bank-FX Output in DSP final output parameter grouping
  SDE_DATA_TYPE_FX_PRG_BANKFX | Program bank-FX Program grouping in DSP code
  SDE_DATA_TYPE_FX_PRG_WRKFX | Program work-the same definition as SDE_PSTM_RING_BUF on management

sdSndMemGetBankStat

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999