Simple Sound for Small
Devices
libsssd
last updated: 03 JUN 2003 (v0.6)
Function Name: sssd_resume
Resume audio playback after sssd_suspend has suspended it.
You can also use this function to change the audio device, if your
platform supports audio devices.
C Prototype:
int sssd_resume (struct sssdaudio *ga, const char *device)
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 (Ignored under Win32/WinCE)
Returns:
0
Success
ERR_DEVICE_RESUME
Could not resume device. (most likely playback
hardware is busy.)
ERR_HARDWARE_BITS
Requested bit-depth (8 or 16) is not supported by
the hardware
ERR_HARDWARE_CHAN
Requested number of channels is not supported by the
hardware
ERR_HARDWARE_FREQ
Requested sample frequency is not supported by the
hardware
ERR_HARDWARE_FRAG
Requested audio buffer size caused an error with the
hardware
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.