Simple Sound for Small Devices
libsssd
last updated: 03 JUN 2003 (v0.6)

Function Name:  sssd_startAudio

Start gameaudio system: open device (usually /dev/dsp), setup device parameters, initialize tables, start thread. Returns -1 on error.


C Prototype:

int sssd_startAudio (struct sssdaudio *ga, const char *device_name);

  Other Prototypes:



Arguments:


struct gameaudio *ga

    Pointer to an initialized sssdaudio structure (returned by sssd_initAudio)

const char *device_name

    Pointer to the device name to use for audio, or DEFAULT_DEVICE as defined in sssd.h


Returns:


int: 0 for success or <32000 if error (see error codes in sssd.h)



libsssd (c)2003 Patrick Roberts created from libgaudio (c) 1999-2000 A. Schiffler.  Release as open source under MPL 1.1.  Documentation (c)2003 Patrick Roberts.