Home | History | Annotate | Download | only in lib

Lines Matching refs:samples

454   /* less than zero?  This is a stream with samples trimmed off
724 int i,samples;
746 samples=vorbis_synthesis_pcmout(&vf->vd,NULL);
748 granulepos-=samples;
1174 /* returns: total PCM length (samples) of content if i==-1 PCM length
1175 (samples) of that logical bitstream for i==0 to n
1648 /* discard samples until we reach the desired position. Crossing a
1652 long samples=vorbis_synthesis_pcmout(&vf->vd,NULL);
1654 if(samples>target)samples=target;
1655 vorbis_synthesis_read(&vf->vd,samples);
1656 vf->pcm_offset+=samples;
1658 if(samples<target)
1848 void (*filter)(float **pcm,long channels,long samples,void *filter_param),void *filter_param){
1853 long samples;
1859 samples=vorbis_synthesis_pcmout(&vf->vd,&pcm);
1860 if(samples)break;
1874 if(samples>0){
1881 if(samples>length/bytespersample)samples=length/bytespersample;
1883 if(samples <= 0)
1888 filter(pcm,channels,samples,filter_param);
1896 for(j=0;j<samples;j++)
1914 for(j=0;j<samples;j++) {
1930 for(j=0;j<samples;j++) {
1944 for(j=0;j<samples;j++)
1958 for(j=0;j<samples;j++)
1973 vorbis_synthesis_read(&vf->vd,samples);
1974 vf->pcm_offset+=samples;
1976 return(samples*bytespersample);
1978 return(samples);
1992 n) number of samples of PCM actually returned. The
2009 long samples=vorbis_synthesis_pcmout(&vf->vd,&pcm);
2010 if(samples){
2012 if(samples>length)samples=length;
2013 vorbis_synthesis_read(&vf->vd,samples);
2014 vf->pcm_offset+=samples;
2016 return samples;
2109 int samples=vorbis_synthesis_pcmout(vd,&pcm);
2110 if(samples){
2111 if(samples>lapsize-lapcount)samples=lapsize-lapcount;
2113 memcpy(lappcm[i]+lapcount,pcm[i],sizeof(**pcm)*samples);
2114 lapcount+=samples;
2115 vorbis_synthesis_read(vd,samples);
2126 int samples=vorbis_synthesis_lapout(&vf->vd,&pcm);
2127 if(samples==0){
2132 if(samples>lapsize-lapcount)samples=lapsize-lapcount;
2134 memcpy(lappcm[i]+lapcount,pcm[i],sizeof(**pcm)*samples);
2135 lapcount+=samples;