Home
last modified time | relevance | path

Searched refs:srate (Results 1 – 4 of 4) sorted by relevance

/external/libvorbis/test/
Dwrite_read.c32 write_vorbis_data_or_die (const char *filename, int srate, float q, const float * data, int count, … in write_vorbis_data_or_die() argument
54 ret = vorbis_encode_init_vbr (&vi,ch,srate,q); in write_vorbis_data_or_die()
133 read_vorbis_data_or_die (const char *filename, int srate, float * data, int count) in read_vorbis_data_or_die() argument
229 if (vi.rate != srate) { in read_vorbis_data_or_die()
230 …\n\nError : File '%s' has sample rate of %ld when it should be %d.\n\n", filename, vi.rate, srate); in read_vorbis_data_or_die()
Dwrite_read.h20 void write_vorbis_data_or_die (const char *filename, int srate, float q,
26 void read_vorbis_data_or_die (const char *filename, int srate,
/external/libvorbis/lib/
Dvorbisenc.c633 static const void *get_setup_template(long ch,long srate, in get_setup_template() argument
642 if(srate>=setup_list[i]->samplerate_min_restriction && in get_setup_template()
643 srate<=setup_list[i]->samplerate_max_restriction){ in get_setup_template()
/external/libopus/src/
Dopus_encoder.c1500 opus_int16 srate = 16000; in opus_encode_native() local
1504 srate = 8000; in opus_encode_native()
1508 srate = 12000; in opus_encode_native()
1525 rate_offset = (opus_int32)PSHR32(MULT16_16(srate, masking_depth), DB_SHIFT); in opus_encode_native()