Searched refs:rewindNbytes (Results 1 – 2 of 2) sorted by relevance
174 size_t rewindNbytes; in ProcessRewind() local180 rewindNbytes = u->sink->thread_info.rewind_nbytes; in ProcessRewind()181 if (!PA_SINK_IS_OPENED(u->sink->thread_info.state) || rewindNbytes <= 0) { in ProcessRewind()184 AUDIO_DEBUG_LOG("Requested to rewind %lu bytes.", (unsigned long) rewindNbytes); in ProcessRewind()196 if (rewindNbytes > inBuffer) { in ProcessRewind()197 rewindNbytes = inBuffer; in ProcessRewind()200 pa_sink_process_rewind(u->sink, rewindNbytes); in ProcessRewind()201 u->timestamp -= pa_bytes_to_usec(rewindNbytes, &u->sink->sample_spec); in ProcessRewind()203 AUDIO_DEBUG_LOG("Rewound %lu bytes.", (unsigned long) rewindNbytes); in ProcessRewind()
296 size_t rewindNbytes; in ProcessRewind() local302 rewindNbytes = u->sink->thread_info.rewind_nbytes; in ProcessRewind()303 if (!PA_SINK_IS_OPENED(u->sink->thread_info.state) || rewindNbytes == 0) { in ProcessRewind()306 AUDIO_DEBUG_LOG("Requested to rewind %lu bytes.", (unsigned long) rewindNbytes); in ProcessRewind()318 if (rewindNbytes > inBuffer) { in ProcessRewind()319 rewindNbytes = inBuffer; in ProcessRewind()322 pa_sink_process_rewind(u->sink, rewindNbytes); in ProcessRewind()323 u->timestamp -= pa_bytes_to_usec(rewindNbytes, &u->sink->sample_spec); in ProcessRewind()325 AUDIO_DEBUG_LOG("Rewound %lu bytes.", (unsigned long) rewindNbytes); in ProcessRewind()