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

# sdPstmGetCurAdr

Gets the current play address of a PCM Stream

### FORMAT

`

  SDE_ERR sdPstmGetCurAdr( handle, ch_num, *cur_adr )
  SDPSTM handle
  Sint8 ch_num
  Sint32 *cur_adr

`

### PARAMETER

  `handle` | Object handle
  `ch_num` | Channel number for which to get current playing address
  `cur_adr` | Waveform address that AICA is currently reading

### RETURN

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

### DESCRIPTION

  Gets the current play address of a PCM Stream.

sdPstmGetCurAdr

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999