##### Sound Function - Sound System Function

# sdLibInit

Initializes Sound Library

### FORMAT

`

  SDE_ERRsdLibInit( *wrk_ptr, mem_blk_handle_max, second_host_cmd_max )
  Void *wrk_ptr
  Sint32 mem_blk_handle_max
  Sint32 second_host_cmd_max

`

### PARAMETER

  `wrk_ptr` | Pointer to the work buffer used by the Sound Library
  `mem_blk_handle_max` | Maximum number of usable memory block handles
  `second_host_cmd_max` | Maximum number of usable secondary command buffers

### RETURN

  Error code

### DESCRIPTION

  sdLibInit must be executed first to initialize the Sound Library.

### NOTE

  If the Sound Library is going to be used, this function must be executed first. The Sound Driver is initialized by sdDrvInit.

### REFERENCE

  `sdDrvInit()
  `

sdLibInit

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999