Changeset 3710:19d0c73a948c in roaraudio
- Timestamp:
- 04/25/10 03:51:44 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarrsound/libroarrsound.c
r3708 r3710 273 273 /* Pauses or unpauses a stream. pause -> enable = 1 274 274 This function essentially calls on start() and stop(). This behavior might be changed later. */ 275 int rsd_pause (rsound_t *rd, int enable); 275 int rsd_pause (rsound_t *rd, int enable) { 276 struct libroarrsound * self = (struct libroarrsound *)rd; 277 278 if ( self == NULL ) 279 return -1; 280 281 if ( !(self->flags & LIBROARRSOUND_FLAGS_STREAMING) ) 282 return -1; 283 284 return roar_stream_set_flags(&(self->con), &(self->stream), ROAR_FLAG_PAUSE, enable ? ROAR_SET_FLAG : ROAR_RESET_FLAG); 285 } 276 286 277 287 //ll
Note: See TracChangeset
for help on using the changeset viewer.