Lines Matching defs:samples
64 ** libsndfile refers to one PCM value as a 'sample,' and a group of samples of
67 ** PCM values, one per channel (aka libsndfile frames) as 'samples.'
69 ** Opus-samples.
73 ** considerations. This is the same as what libsndfile calls samples.
74 ** - Samples/channel shall refer to groups of samples, one for each channel.
75 ** This is what Opus calles samples, and what libsndfile calles frames. It
116 ** streams the granule position is the count of samples in the stream when
126 ** packet completes is greater than the sum of the samples of all audio
239 /* Current position in buffer expressed as samples/channel */
242 /* Current data fill (decode) or target (encode) of buffer expressed in samples/channel */
426 psf_log_printf (psf, " Preskip : %d samples @48kHz\n", (int) h->preskip) ;
634 ** buffersize is expressed in samples/channel, as that is what opus_decode
876 ** Need to flush both samples waiting for a complete packet and samples
882 ** total number of samples completed in it. This is how Ogg embedded Opus
896 ** to minimize padding samples.
939 { int i, samples, duration ;
945 samples = opus_packet_get_nb_samples (ppkt->packet, ppkt->bytes, 48000) ;
946 if (samples > 0)
947 duration += samples ;
970 psf_log_printf (psf, "Opus : Hole found appears to be of length %D samples.\n",
1008 psf_log_printf (psf, "Growing decode buffer to hold %d samples from %d\n",
1041 ** samples are padding and should be dropped.
1059 ** position is smaller than the number of samples contained in
1065 psf_log_printf (psf, "Opus : Mid-stream page's granule position %D is less than total samples of %D\n", oopus->pg_pos, pkt_granulepos) ;
1083 ** Check for if this decoded packet contains samples from before the pre-
1084 ** skip point, indicating that these samples are padding to get the decoder
1424 ** to sum up how many samples are in all the packets that complete in the
1428 ** as the granule position may be /less/ than the number of samples, to
1429 ** indicate how many samples are end-padding. In this case the granule
1445 { psf_log_printf (psf, "Opus : First data page's granule position is less than total number of samples on the page!\n") ;
1493 ** Decode samples, doing nothing with them, until the desired granule position
1627 * decoder samples to converge before the actual target. */