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

Function Name:  sssd_suspend

   Pause audio, mixer thread, and free dedicated hardware assets.   This function should be called if you want guarantee the device user to be able to hear audio from other applications.  You may want this, for example, when your application looses focus.  This should also be called before the hardware enters suspend mode, if possible.


C Prototype:

int sssd_suspend (struct sssdaudio *ga)

  Other Prototypes:



Arguments:


struct gameaudio *ga

    Pointer to an initialized sssdaudio structure (returned by sssd_initAudio)


Returns:


0
    Success

ERR_DEVICE_SUSPEND
    Not able to free hardware resources



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.