Home
last modified time | relevance | path

Searched refs:samplerate (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/wilhelm/tools/permute/
Dpermute.c175 switch (sfinfo_in.samplerate) { in permute()
185 fprintf(stderr, "%s: unsupported sample rate %d\n", path_in, sfinfo_in.samplerate); in permute()
212 double durationSeconds = (double) sfinfo_in.frames / (double) sfinfo_in.samplerate; in permute()
214 s.mMinSegmentLengthFrames = minSegmentLengthSeconds * sfinfo_in.samplerate; in permute()
259 sfinfo_out.samplerate = sfinfo_in.samplerate; in permute()
294 sfinfo_in.samplerate), (unsigned) ((s.mSegmentArray[i].mFrameLength * 1000.0) / in permute()
295 sfinfo_in.samplerate)); in permute()
/frameworks/av/services/mediametrics/
Dstatsd_audiorecord.cpp72 int32_t samplerate = -1; in statsd_audiorecord() local
73 if (item->getInt32("android.media.audiorecord.samplerate", &samplerate)) { in statsd_audiorecord()
74 metrics_proto.set_samplerate(samplerate); in statsd_audiorecord()
169 << " samplerate:" << samplerate in statsd_audiorecord()
Dstatsd_audiothread.cpp67 int32_t samplerate = -1; in statsd_audiothread() local
68 if (item->getInt32(MM_PREFIX "samplerate", &samplerate)) { in statsd_audiothread()
69 metrics_proto.set_samplerate(samplerate); in statsd_audiothread()
208 << " samplerate:" << samplerate in statsd_audiothread()
/frameworks/av/media/module/codecs/mp3dec/test/
DMp3DecoderTest.cpp95 sfInfo->samplerate = mMp3Reader.getSampleRate(); in openOutputFile()
133 ASSERT_EQ(sfInfo.samplerate, mConfig->samplingRate) << "Sample rate does not match"; in TEST_P()
161 ASSERT_EQ(sfInfo.samplerate, mConfig->samplingRate) << "Sample rate does not match"; in TEST_P()
168 ASSERT_EQ(sfInfo.samplerate, mConfig->samplingRate) << "Sample rate does not match"; in TEST_P()
Dmp3dec_test.cpp79 sfInfo.samplerate = mp3Reader.getSampleRate(); in main()
/frameworks/wilhelm/src/desktop/
DSndFile.cpp116 switch (sfinfo->samplerate) { in SndFile_IsSupported()
220 audioPlayer->mSndFile.mSfInfo.samplerate) / 1000LL), SEEK_SET); in audioPlayerTransportUpdate()
262 1000LL) / thiz->mSndFile.mSfInfo.samplerate); in SndFile_Realize()
264 thiz->mSampleRateMilliHz = thiz->mSndFile.mSfInfo.samplerate * 1000; in SndFile_Realize()
/frameworks/av/media/libnbaio/
DLibsndfileSink.cpp27 NBAIO_Sink(Format_from_SR_C(sfinfo.samplerate, sfinfo.channels)), in LibsndfileSink()
DLibsndfileSource.cpp27 NBAIO_Source(Format_from_SR_C(sfinfo.samplerate, sfinfo.channels)), in LibsndfileSource()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp148 int32_t nChannels, samplerate; in audioTrack() local
152 || !md->findInt32(kKeySampleRate, &samplerate) in audioTrack()
187 int headerSize = WriteOpusHeader(header, samplerate, (uint8_t*)header_data, in audioTrack()
204 sp<WebmElement> entry = WebmElement::AudioTrackEntry("A_OPUS", nChannels, samplerate, in audioTrack()
243 sp<WebmElement> entry = WebmElement::AudioTrackEntry("A_VORBIS", nChannels, samplerate, in audioTrack()
/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp263 if (sfinfo.samplerate < 8000 || sfinfo.samplerate > 192000) { in main()
264 fprintf(stderr, "unsupported sample rate %d\n", sfinfo.samplerate); in main()
378 format_pcm.sampleRate = sfinfo.samplerate * 1000; in main()
/frameworks/av/media/module/codecs/amrnb/dec/test/
Damrnbdec_test.cpp79 sfInfo.samplerate = kSampleRate; in main()
DAmrnbDecoderTest.cpp63 sfInfo->samplerate = kSampleRate; in openOutputFile()
/frameworks/av/media/module/codecs/amrwb/dec/test/
Damrwbdec_test.cpp81 sfInfo.samplerate = kSampleRate; in main()
DAmrwbDecoderTest.cpp68 sfInfo->samplerate = kSampleRate; in openOutputFile()
/frameworks/av/media/libaudioprocessing/tests/
Dtest-mixer.cpp62 info.samplerate = sampleRate; in writeFile()
66 filename, info.channels, info.samplerate, frames); in writeFile()
Dtest-resampler.cpp225 input_freq = info.samplerate; in main()
505 info.samplerate = output_freq; in main()
Dtest_utils.h281 createBufferByFrames<T>(info.channels, info.samplerate, info.frames);
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DEncoderTest.java130 int frameInterval, int profile, int level, int samplerate, in EncoderTest() argument
140 this.mSampleRate = samplerate; in EncoderTest()
/frameworks/proto_logging/stats/message/
Dmediametrics_message.proto51 optional int32 samplerate = 4; field
76 optional int32 samplerate = 3; field
/frameworks/av/services/audioflinger/afutils/
DNBAIO_Tee.cpp442 .samplerate = (int)sampleRate, in createInternal()
/frameworks/wilhelm/tests/examples/
DslesTestRecBuffQueue.cpp169 info.samplerate = sampleRate; in TestRecToBuffQueue()
DslesTestFeedback.cpp379 info.samplerate = sampleRate; in main()
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp527 int32_t samplerate; in getTrackMetaData() local
531 AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &samplerate)) { in getTrackMetaData()
547 if ((uint32_t)samplerate != track->timescale){ in getTrackMetaData()
549 samplerate); in getTrackMetaData()
556 if (__builtin_mul_overflow(media_time, samplerate, &delay) || in getTrackMetaData()
606 if (__builtin_mul_overflow(padding, samplerate, &paddingsamples) || in getTrackMetaData()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp4622 int32_t samplerate; in writeAudioFourCCBox() local
4623 success = mMeta->findInt32(kKeySampleRate, &samplerate); in writeAudioFourCCBox()
4625 mOwner->writeInt32(samplerate << 16); in writeAudioFourCCBox()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h2525 SLmilliHertz samplerate

12