Searched defs:sampleRate (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitenc.h35 Word32 sampleRate; member in struct:BITSTREAMENCODER_INIT
H A Daacenc_core.h40 Word32 sampleRate; /* audio file sample rate */ member in struct:__anon333
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioSample.java21 public final int sampleRate; field in class:AudioSample
25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { argument
26 this.sampleRate = sampleRate;
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoAAC.h45 int sampleRate; /*! audio file sample rate */ member in struct:__anon459
/frameworks/opt/net/voip/src/jni/rtp/
H A DGsmCodec.cpp42 int set(int sampleRate, const char */* fmtp */) { argument
43 return (sampleRate == 8000 && mEncode && mDecode) ? 160 : -1;
H A DG711Codec.cpp37 int set(int sampleRate, const char */* fmtp */) { argument
38 mSampleCount = sampleRate / 50;
88 int set(int sampleRate, const char */* fmtp */) { argument
89 mSampleCount = sampleRate / 50;
H A DAmrCodec.cpp53 int set(int sampleRate, const char *fmtp);
67 int AmrCodec::set(int sampleRate, const char *fmtp) argument
97 return (sampleRate == 8000 && mEncoder && mDecoder) ? 160 : -1;
211 int set(int sampleRate, const char */* fmtp */) { argument
212 return (sampleRate == 8000 && mEncoder && mDecoder) ? 160 : -1;
/frameworks/av/cmds/stagefright/
H A DSineSource.cpp12 SineSource::SineSource(int32_t sampleRate, int32_t numChannels) argument
14 mSampleRate(sampleRate),
H A DSimplePlayer.cpp582 int32_t sampleRate; local
584 CHECK(format->findInt32("sample-rate", &sampleRate));
588 sampleRate,
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp46 uint32_t sampleRate = mStream->common.get_sample_rate(&mStream->common); local
49 mFormat = Format_from_SR_C(sampleRate,
H A DAudioStreamOutSink.cpp43 uint32_t sampleRate = mStream->common.get_sample_rate(&mStream->common); local
46 mFormat = Format_from_SR_C(sampleRate,
H A DNBAIO.cpp48 NBAIO_Format Format_from_SR_C(unsigned sampleRate, unsigned channelCount, argument
51 if (sampleRate == 0 || channelCount == 0 || !audio_is_valid_format(format)) {
55 ret.mSampleRate = sampleRate;
/frameworks/av/media/libeffects/testlibs/
H A DAudioPeakingFilter.cpp44 AudioPeakingFilter::AudioPeakingFilter(int nChannels, int sampleRate) argument
45 : mBiquad(nChannels, sampleRate) {
46 configure(nChannels, sampleRate);
50 void AudioPeakingFilter::configure(int nChannels, int sampleRate) { argument
51 mNiquistFreq = sampleRate * 500;
53 mBiquad.configure(nChannels, sampleRate);
H A DAudioShelvingFilter.cpp50 int sampleRate)
52 mBiquad(nChannels, sampleRate) {
53 configure(nChannels, sampleRate);
56 void AudioShelvingFilter::configure(int nChannels, int sampleRate) { argument
57 mNiquistFreq = sampleRate * 500;
59 mBiquad.configure(nChannels, sampleRate);
49 AudioShelvingFilter(ShelfType type, int nChannels, int sampleRate) argument
H A DAudioBiquadFilter.cpp28 AudioBiquadFilter::AudioBiquadFilter(int nChannels, int sampleRate) { argument
29 configure(nChannels, sampleRate);
33 void AudioBiquadFilter::configure(int nChannels, int sampleRate) { argument
35 assert(sampleRate > 0);
39 / sampleRate;
H A DAudioEqualizer.cpp39 int nChannels, int sampleRate,
43 "sampleRate=%d, nPresets=%d)",
44 pMem, nBands, nChannels, sampleRate, nPresets);
54 return new (pMem) AudioEqualizer(pMem, nBands, nChannels, sampleRate,
58 void AudioEqualizer::configure(int nChannels, int sampleRate) { argument
59 ALOGV("AudioEqualizer::configure(nChannels=%d, sampleRate=%d)", nChannels,
60 sampleRate);
61 mpLowShelf->configure(nChannels, sampleRate);
63 mpPeakingFilters[i].configure(nChannels, sampleRate);
65 mpHighShelf->configure(nChannels, sampleRate);
38 CreateInstance(void * pMem, int nBands, int nChannels, int sampleRate, const PresetConfig * presets, int nPresets) argument
287 AudioEqualizer(void * pMem, int nBands, int nChannels, int sampleRate, bool ownMem, const PresetConfig * presets, int nPresets) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARawAudioAssembler.cpp136 int32_t sampleRate, numChannels; local
138 desc, &sampleRate, &numChannels);
140 format->setInt32(kKeySampleRate, sampleRate);
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.h31 AudioResamplerCubic(int inChannelCount, int32_t sampleRate) : argument
32 AudioResampler(inChannelCount, sampleRate, MED_QUALITY) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioSession.h37 uint32_t sampleRate,
50 uint32_t sampleRate() const { return mConfig.sample_rate; } function in class:android::AudioSession
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAudioConfig.java35 public BluetoothAudioConfig(int sampleRate, int channelConfig, int audioFormat) { argument
36 mSampleRate = sampleRate;
70 int sampleRate = in.readInt();
73 return new BluetoothAudioConfig(sampleRate, channelConfig, audioFormat);
/frameworks/av/include/media/
H A DAudioResamplerPublic.h169 static inline bool isMusicRate(uint32_t sampleRate) { argument
170 return sampleRate >= AUDIO_PROCESSING_MUSIC_RATE;
/frameworks/av/media/libstagefright/
H A DAMRWriter.cpp80 int32_t sampleRate; local
83 CHECK(meta->findInt32(kKeySampleRate, &sampleRate));
84 CHECK_EQ(sampleRate, (isWide ? 16000 : 8000));
H A DVBRISeeker.cpp52 int sampleRate; local
53 if (!GetMPEGAudioFrameSize(tmp, &frameSize, &sampleRate)) {
73 numFrames * 1000000ll * (sampleRate >= 32000 ? 1152 : 576) / sampleRate;
H A DAACWriter.cpp195 static bool getSampleRateTableIndex(int sampleRate, uint8_t* tableIndex) { argument
205 if (sampleRate == kSampleRateTable[index]) {
207 sampleRate, index);
213 ALOGE("Sampling rate %d bps is not supported", sampleRate);
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java66 SynthesisPlaybackQueueItem(AudioOutputParams audioParams, int sampleRate, argument
77 mAudioTrack = new BlockingAudioTrack(audioParams, sampleRate, audioFormat, channelCount);

Completed in 455 milliseconds

1234