Searched refs:target_sample (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/plugin_winamp2/ |
H A D | playback.c | 187 FLAC__uint64 target_sample = stream_data->total_samples * stream_data->seek_to / stream_data->length_in_msec;
local 189 if (stream_data->total_samples > 0 && target_sample >= stream_data->total_samples && target_sample > 0)
190 target_sample = stream_data->total_samples - 1;
196 pos = (int)(target_sample*1000 / stream_data->sample_rate);
198 if (!FLAC__stream_decoder_seek_absolute(decoder, target_sample)) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/ |
H A D | stream_decoder.c | 134 static FLAC__bool seek_to_absolute_sample_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample); 136 static FLAC__bool seek_to_absolute_sample_ogg_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample); 201 FLAC__uint64 target_sample; member in struct:FLAC__StreamDecoderPrivate 2917 FLAC__uint64 target_sample = decoder->private_->target_sample; local 2925 if(this_frame_sample <= target_sample && target_sample < next_frame_sample) { /* we hit our target frame */ 2926 unsigned delta = (unsigned)(target_sample - this_frame_sample); 2929 /* shift out the samples before target_sample */ 2972 FLAC__bool seek_to_absolute_sample_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample) argument 3187 seek_to_absolute_sample_ogg_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/plugin_xmms/ |
H A D | plugin.c | 500 FLAC__uint64 target_sample = (FLAC__uint64)(distance * (double)stream_data_.total_samples); local 501 if(stream_data_.total_samples > 0 && target_sample >= stream_data_.total_samples) 502 target_sample = stream_data_.total_samples - 1; 503 if(FLAC__stream_decoder_seek_absolute(decoder_, target_sample)) {
|
Completed in 108 milliseconds