libshout - function - shout_sleep

libshout documentation | libshout version 1.0.4 - 20000824

# shout_sleep

declared in <shout/shout.h>

The shout_sleep function makes sure that data is sent at the correct rate for this bitstream. Calling the function causes it to sleep() for a number of milliseconds, in order to pause before more data is sent.

This function should only be called in conjuction with shout_send_data(), and most often they will be in a loop together.

It should be noted that if your bitstream is already real-time and does not require timing, this function is optional.

    void shout_sleep(
        shout_conn_t *self    /* pointer to the connection structure */
    );

### Parameters

self
  pointer to the connection structure

### Return Values

None.

copyright © 2000 icecast team | www.icecast.org team@icecast.org
libshout documentation | libshout version 1.0.4 - 20000824