Home
last modified time | relevance | path

Searched refs:mSampleRate (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/
DSampleBuffer.cpp51 int32_t mSampleRate; member in iolib::ResampleBlock
59 ((double)input.mNumFrames * (double)output->mSampleRate) / (double)input.mSampleRate; in resampleData()
69 input.mSampleRate, // input sampleRate in resampleData()
70 output->mSampleRate, // output sampleRate in resampleData()
104 inputBlock.mSampleRate = mAudioProperties.sampleRate; in resampleData()
107 outputBlock.mSampleRate = sampleRate; in resampleData()
116 mAudioProperties.sampleRate = outputBlock.mSampleRate; in resampleData()
DSimpleMultiPlayer.h50 int getSampleRate() { return mSampleRate; } in getSampleRate()
85 int32_t mSampleRate; variable
DSimpleMultiPlayer.cpp108 mSampleRate = mAudioStream->getSampleRate(); in openStream()
144 buffer->resampleData(mSampleRate); in addSampleSource()
/third_party/skia/third_party/externals/oboe/samples/parselib/src/main/cpp/wav/
DWavFmtChunkHeader.cpp31 mSampleRate = 0; in WavFmtChunkHeader()
41 mSampleRate = 0; in WavFmtChunkHeader()
51 mAveBytesPerSecond = mSampleRate * mBlockAlign; in normalize()
62 stream->read(&mSampleRate, sizeof(mSampleRate)); in read()
DWavFmtChunkHeader.h39 RiffInt32 mSampleRate; variable
DWavStreamReader.h38 int getSampleRate() { return mFmtChunk->mSampleRate; } in getSampleRate()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DAudioRecordThread.java31 private final int mSampleRate; field in AudioRecordThread
44 mSampleRate = frameRate; in AudioRecordThread()
53 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSampleRate, in createRecorder()
58 mSampleRate, in createRecorder()
102 return mSampleRate; in getSampleRate()
DStreamConfiguration.java74 private int mSampleRate; field in StreamConfiguration
97 mSampleRate = UNSPECIFIED; in reset()
227 message.append(String.format("%s.rate = %d\n", prefix, mSampleRate)); in dump()
297 return mSampleRate; in getSampleRate()
301 this.mSampleRate = sampleRate; in setSampleRate()
DTestAudioActivity.java80 private int mSampleRate; field in TestAudioActivity
376 return mSampleRate; in getSampleRate()
437 mSampleRate = actualConfig.getSampleRate(); in openStreamContext()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/flowunits/
DOscillatorBase.h39 mSampleRate = sampleRate; in setSampleRate()
44 return mSampleRate; in getSampleRate()
95 float mSampleRate = 0.0f; variable
/third_party/skia/third_party/externals/oboe/samples/shared/
DOscillator.h44 mSampleRate = sampleRate; in setSampleRate()
87 int32_t mSampleRate = kDefaultSampleRate; variable
90 mPhaseIncrement.store((kTwoPi * mFrequency) / static_cast<double>(mSampleRate)); in updatePhaseIncrement()
DTappableAudioSource.h32 mSampleRate(sampleRate), mChannelCount(channelCount) { } in TappableAudioSource()
34 int32_t mSampleRate; variable
/third_party/ffmpeg/libavcodec/
Daudiotoolboxdec.c166 if (format.mSampleRate) in ffat_update_ctx()
167 avctx->sample_rate = format.mSampleRate; in ffat_update_ctx()
176 format.mSampleRate = avctx->sample_rate; in ffat_update_ctx()
348 in_format.mSampleRate = avctx->sample_rate; in ffat_create_decoder()
359 in_format.mSampleRate = hdr.sample_rate; in ffat_create_decoder()
365 in_format.mSampleRate = avctx->sample_rate ? avctx->sample_rate : 44100; in ffat_create_decoder()
369 avctx->sample_rate = out_format.mSampleRate = in_format.mSampleRate; in ffat_create_decoder()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DLatencyAnalyzer.h160 mSampleRate = sampleRate; in setSampleRate()
164 return mSampleRate; in getSampleRate()
199 int32_t mSampleRate = kDefaultSampleRate; // common default variable
333 mSampleRate = sampleRate; in setSampleRate()
337 return mSampleRate; in getSampleRate()
354 int32_t mSampleRate = kDefaultSampleRate;
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSynthEngine.java56 private int mSampleRate; field in SynthEngine
129 mSampleRate = mAudioOutput.getFrameRate(); // rate is now valid in run()
241 return new SineVoice(mSampleRate); in createVoice()
243 return new SawVoice(mSampleRate); in createVoice()
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/
DLiveEffectEngine.cpp89 mSampleRate = oboe::kUnspecified; in openStreams()
92 mSampleRate = mPlayStream->getSampleRate(); in openStreams()
122 ->setSampleRate(mSampleRate) in setupRecordingStreamParameters()
/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxcoreaudiohal.c634 if (cformat.mSampleRate == format.mSampleRate && in _audio_stream_change_format()
643 if (cformat.mSampleRate != format.mSampleRate || in _audio_stream_change_format()
873 if (formats[j].mFormat.mSampleRate == format.mSampleRate) { in _acquire_spdif()
876 } else if (formats[j].mFormat.mSampleRate == in _acquire_spdif()
877 core_audio->original_format.mSampleRate) { in _acquire_spdif()
881 formats[j].mFormat.mSampleRate > in _acquire_spdif()
882 formats[backup_rate_format].mFormat.mSampleRate) { in _acquire_spdif()
Dgstosxaudioringbuffer.c183 format.mSampleRate = (double) GST_AUDIO_INFO_RATE (&spec->info); in gst_osx_audio_ring_buffer_acquire()
199 format.mSampleRate = (double) GST_AUDIO_INFO_RATE (&spec->info); in gst_osx_audio_ring_buffer_acquire()
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStreamBase.h62 int32_t getSampleRate() const { return mSampleRate; } in getSampleRate()
159 int32_t mSampleRate = kUnspecified; variable
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.cpp72 LOGI("AudioStreamOpenSLES::open() chans=%d, rate=%d", mChannelCount, mSampleRate); in open()
84 if (mSampleRate == kUnspecified) { in open()
85 mSampleRate = DefaultStreamValues::SampleRate; in open()
DAudioInputStreamOpenSLES.cpp108 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()
201 oboeResult = configureBufferSizes(mSampleRate); in open()
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/
DSoundGenerator.cpp30 mOscillators[i].setSampleRate(mSampleRate); in SoundGenerator()
/third_party/skia/third_party/externals/oboe/samples/MegaDrone/src/main/cpp/
DSynth.h39 mOscs[i].setSampleRate(mSampleRate); in Synth()
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Datdec.c225 format->mSampleRate = rate; in gst_caps_to_at_format()
320 "rate", G_TYPE_INT, (int) input_format.mSampleRate, in gst_atdec_set_format()
331 output_format.mSampleRate, output_format.mChannelsPerFrame, NULL); in gst_atdec_set_format()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DNativeAudioContext.h310 SECONDS_TO_RECORD * mSampleRate); in createRecording()
328 int32_t mSampleRate = 0; // TODO per stream variable
499 SECONDS_TO_RECORD * mSampleRate); in createRecording()

12