##### Sound Function - Sound Module Control Function

# sdShotPlay

Plays a One-Shot

### FORMAT

`

  SDE_ERR sdShotPlay( handle, bank_num, list_num, priority )
  SDSHOT handle
  Sint8 bank_num
  Sint8 list_num
  Sint8 priority

`

### PARAMETER

  `handle` | Object port handle
  `bank_num` | One-Shot bank number to play
  `list_num` | One-Shot number to play
  `priority` | Priority level

### RETURN

  SDE_ERR_NO_INIT | The Sound Library has not been initialized |
  SDE_ERR_HANDLE_NULL | The handle is NULL |
  SDE_ERR_PRM_OVER_RANGE | Parameter out of range |
  SDE_ERR_HOST_CMD_BUF_NO_ENOUGH | No more host commands can be accepted |

### DESCRIPTION

  Plays a One-Shot.

  The range of `bank_num`, which specifies the one-shot bank number to play, is 0000H to 007FH.

  The range of `list_num`, which specifies the one-shot number to play, is 0000H to 007FH.

  The range of `priority`, which specifies the priority level, is 00000H (always take priority) to 0001H (lowest) to 000FH (highest)

sdShotPlay

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999