Changeset 3452:3e3d7b1124c2 in roaraudio


Ignore:
Timestamp:
02/13/10 19:21:58 (10 years ago)
Author:
phi
Branch:
default
Message:

implement pa_stream_flush()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/stream.c

    r3451 r3452  
    583583 * better off using the parameter delta of pa_stream_write() instead of this 
    584584 * function. Available on both playback and recording streams. \since 0.3 */ 
    585 pa_operation* pa_stream_flush(pa_stream *s, pa_stream_success_cb_t cb, void *userdata); 
     585pa_operation* pa_stream_flush(pa_stream *s, pa_stream_success_cb_t cb, void *userdata) { 
     586 return pa_stream_drain(s, cb, userdata); // where is the differance to drain? 
     587} 
    586588/** Reenable prebuffering as specified in the pa_buffer_attr 
    587589 * structure. Available for playback streams only. \since 0.6 */ 
Note: See TracChangeset for help on using the changeset viewer.