Home
last modified time | relevance | path

Searched refs:SAMPLE_RATE (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/lite/experimental/microfrontend/python/kernel_tests/
Daudio_microfrontend_op_test.py26 SAMPLE_RATE = 1000 variable
48 sample_rate=SAMPLE_RATE,
66 sample_rate=SAMPLE_RATE,
87 sample_rate=SAMPLE_RATE,
107 sample_rate=SAMPLE_RATE,
129 sample_rate=SAMPLE_RATE,
149 sample_rate=SAMPLE_RATE,
/external/exoplayer/tree/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoder.java42 private static final int SAMPLE_RATE = 48000; field in OpusDecoder
131 nativeDecoderContext = opusInit(SAMPLE_RATE, channelCount, numStreams, numCoupled, gain, in OpusDecoder()
173 outputBuffer, SAMPLE_RATE, exoMediaCrypto, cryptoInfo.mode, in decode()
224 return SAMPLE_RATE; in getSampleRate()
228 return (int) (ns * SAMPLE_RATE / 1000000000); in nsToSamples()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoder.java41 /* package */ static final int SAMPLE_RATE = 48_000; field in OpusDecoder
135 opusInit(SAMPLE_RATE, channelCount, numStreams, numCoupled, gain, streamMap); in OpusDecoder()
197 SAMPLE_RATE, in decode()
276 return (int) ((codecDelayNs * SAMPLE_RATE) / C.NANOS_PER_SECOND); in getPreSkipSamples()
295 return (int) ((seekPreRollNs * SAMPLE_RATE) / C.NANOS_PER_SECOND); in getSeekPreRollSamples()
317 return (int) ((discardPaddingNs * SAMPLE_RATE) / C.NANOS_PER_SECOND); in getDiscardPaddingSamples()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DSpeechActivity.java67 private static final int SAMPLE_RATE = 16000; field in SpeechActivity
69 private static final int RECORDING_LENGTH = (int) (SAMPLE_RATE * SAMPLE_DURATION_MS / 1000);
208 SAMPLE_RATE, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT); in record()
210 bufferSize = SAMPLE_RATE * 2; in record()
217 SAMPLE_RATE, in record()
286 int[] sampleRateList = new int[] {SAMPLE_RATE}; in recognize()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoder.java41 /* package */ static final int SAMPLE_RATE = 48_000; field in OpusDecoder
133 opusInit(SAMPLE_RATE, channelCount, numStreams, numCoupled, gain, streamMap); in OpusDecoder()
185 SAMPLE_RATE, in decode()
256 return (int) ((codecDelayNs * SAMPLE_RATE) / C.NANOS_PER_SECOND); in getPreSkipSamples()
275 return (int) ((seekPreRollNs * SAMPLE_RATE) / C.NANOS_PER_SECOND); in getSeekPreRollSamples()
DLibopusAudioRenderer.java126 return Util.getPcmFormat(pcmEncoding, decoder.channelCount, OpusDecoder.SAMPLE_RATE); in getOutputFormat()
/external/oboe/apps/fxlab/app/src/main/cpp/effects/
DVibratroEffect.h24 DelayLineEffect<iter_type>(0, 1, 0, 1, depth_ms * SAMPLE_RATE / 1000, in VibratoEffect()
25 SineWave {frequency, 1, SAMPLE_RATE}) { } in VibratoEffect()
DFlangerEffect.h26 DelayLineEffect<iter_type>(feedback, feedback, feedback, 0, depth_ms * SAMPLE_RATE / 1000, in FlangerEffect()
27 SineWave {frequency, 1, SAMPLE_RATE}) { } in FlangerEffect()
DWhiteChorusEffect.h27 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in WhiteChorusEffect()
28 static_cast<int>(depth_ms * SAMPLE_RATE / 1000), in WhiteChorusEffect()
DDoublingEffect.h28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in DoublingEffect()
29 static_cast<int>(depth_ms * SAMPLE_RATE / 1000), in DoublingEffect()
DSlapbackEffect.h25 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in SlapbackEffect()
DEchoEffect.h28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in EchoEffect()
DTremoloEffect.h27 kSignal {SineWave{frequency, height, SAMPLE_RATE}} { } in TremoloEffect()
DEffects.h22 static int SAMPLE_RATE = 48000; variable
/external/libopus/doc/
Dtrivial_example.c40 #define SAMPLE_RATE 48000 macro
71 encoder = opus_encoder_create(SAMPLE_RATE, CHANNELS, APPLICATION, &err); in main()
97 decoder = opus_decoder_create(SAMPLE_RATE, CHANNELS, &err); in main()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DOpusReader.java38 private static final int SAMPLE_RATE = 48000; field in OpusReader
83 .setSampleRate(SAMPLE_RATE) in readHeaders()
96 long ns = (samples * C.NANOS_PER_SECOND) / SAMPLE_RATE; in putNativeOrderLong()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/audio/
DOpusUtil.java28 public static final int SAMPLE_RATE = 48_000; field in OpusUtil
73 return (sampleCount * C.NANOS_PER_SECOND) / SAMPLE_RATE; in sampleCountToNanoseconds()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/audio/
DOpusUtil.java28 public static final int SAMPLE_RATE = 48_000; field in OpusUtil
73 return (sampleCount * C.NANOS_PER_SECOND) / SAMPLE_RATE; in sampleCountToNanoseconds()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/opus/src/test/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoderTest.java183 return (sampleCount * C.NANOS_PER_SECOND) / OpusDecoder.SAMPLE_RATE; in sampleCountToNanoseconds()
187 return (nanoseconds * OpusDecoder.SAMPLE_RATE) / C.NANOS_PER_SECOND; in nanosecondsToSampleCount()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/audio/
DOpusUtilTest.java59 return (sampleCount * C.NANOS_PER_SECOND) / OpusUtil.SAMPLE_RATE; in sampleCountToNanoseconds()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/audio/
DOpusUtilTest.java59 return (sampleCount * C.NANOS_PER_SECOND) / OpusUtil.SAMPLE_RATE; in sampleCountToNanoseconds()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/opus/src/test/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoderTest.java84 return (sampleCount * C.NANOS_PER_SECOND) / OpusDecoder.SAMPLE_RATE; in sampleCountToNanoseconds()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DOpusReader.java69 .setSampleRate(OpusUtil.SAMPLE_RATE) in readHeaders()
/external/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp35 SAMPLE_RATE = inStream->getSampleRate(); in beginStreams()
/external/bcc/tools/
Dmemleak_example.txt174 [--combined-only] [--wa-missing-free] [-s SAMPLE_RATE]
202 -s SAMPLE_RATE, --sample-rate SAMPLE_RATE

12