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

Function Name:  sssd_blockUntilComplete

   Will wait until a playing sample has finished playing before returning.


C Prototype:

int sssd_blockUntilComplete (struct sssdaudio *ga, int playing_id);

  Other Prototypes:



Arguments:


struct gameaudio *ga

    Pointer to an initialized sssdaudio structure (returned by sssd_initAudio)

int playing_id

    Playing sample ID as returned by sssd_playSample().


Returns:


0
Success

ERR_PLAYING_ID
The provided playing ID is illegal (out of range or sample is not currently playing).

ERR_PLAYING_LOOP
The playing sample is an infinite loop.



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.