Lines Matching defs:channels
105 static int vorbis_rnull (SF_PRIVATE *psf, int samples, void *vptr, int off , int channels, float **pcm) ;
230 psf_log_printf (psf, "Bitstream is %d channel, %D Hz\n", vdata->vinfo.channels, vdata->vinfo.rate) ;
292 psf->sf.channels = vdata->vinfo.channels ;
319 ret = vorbis_encode_init_vbr (&vdata->vinfo, psf->sf.channels, psf->sf.samplerate, vdata->quality) ;
322 ret = vorbis_encode_init (&vdata->vinfo, psf->sf.channels, psf->sf.samplerate, -1, 128000, -1) ; /* average bitrate mode */
323 ret = ( vorbis_encode_setup_managed (&vdata->vinfo, psf->sf.channels, psf->sf.samplerate, -1, 128000, -1)
548 vorbis_rnull (SF_PRIVATE *UNUSED (psf), int samples, void *UNUSED (vptr), int UNUSED (off) , int channels, float **UNUSED (pcm))
550 return samples * channels ;
554 vorbis_rshort (SF_PRIVATE *psf, int samples, void *vptr, int off, int channels, float **pcm)
562 for (n = 0 ; n < channels ; n++)
568 for (n = 0 ; n < channels ; n++)
575 vorbis_rint (SF_PRIVATE *psf, int samples, void *vptr, int off, int channels, float **pcm)
584 for (n = 0 ; n < channels ; n++)
590 for (n = 0 ; n < channels ; n++)
597 vorbis_rfloat (SF_PRIVATE *UNUSED (psf), int samples, void *vptr, int off, int channels, float **pcm)
602 for (n = 0 ; n < channels ; n++)
608 vorbis_rdouble (SF_PRIVATE *UNUSED (psf), int samples, void *vptr, int off, int channels, float **pcm)
613 for (n = 0 ; n < channels ; n++)
626 len = lens / psf->sf.channels ;
637 i += transfn (psf, samples, ptr, i, psf->sf.channels, pcm) ;
737 int in_frames = lens / psf->sf.channels ;
740 for (m = 0 ; m < psf->sf.channels ; m++)
753 int in_frames = lens / psf->sf.channels ;
756 for (m = 0 ; m < psf->sf.channels ; m++)
769 int in_frames = lens / psf->sf.channels ;
772 for (m = 0 ; m < psf->sf.channels ; m++)
785 int in_frames = lens / psf->sf.channels ;
788 for (m = 0 ; m < psf->sf.channels ; m++)
864 vorbis_read_sample (psf, (void *) NULL, (target - vdata->gp) * psf->sf.channels, vorbis_rnull) ;