Home
last modified time | relevance | path

Searched refs:samplingRate (Results 1 – 25 of 53) sorted by relevance

123

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchesStringBuilder.java39 int[] glitchesData, int samplingRate, in getGlitchString() argument
44 double newSamplesInMs = ((double) newSamplesPerFFT / samplingRate) * in getGlitchString()
49 double allSamplesInMs = ((double) fftsamplingsize / samplingRate) * in getGlitchString()
71 int[] glitchesData, int samplingRate) { in getGlitchStringForFile() argument
75 double newSamplesInMs = ((double) newSamplesPerFFT / samplingRate) * in getGlitchStringForFile()
92 int[] glitchesData, int samplingRate) { in getGlitchMilliseconds() argument
97 double newSamplesInMs = ((double) newSamplesPerFFT / samplingRate) * in getGlitchMilliseconds()
DTestSettings.java22 public TestSettings(int samplingRate, int playerBufferSizeInBytes, in TestSettings() argument
24 mSamplingRate = samplingRate; in TestSettings()
41 public void setSamplingRate(int samplingRate) { in setSamplingRate() argument
42 mSamplingRate = Utilities.clamp(samplingRate, in setSamplingRate()
DLoopbackAudioThread.java84 int samplingRate = AudioTrack.getNativeOutputSampleRate(AudioManager.STREAM_MUSIC); in computeDefaultSettings() local
85 int minPlayerBufferSizeInBytes = AudioTrack.getMinBufferSize(samplingRate, in computeDefaultSettings()
87 int minRecorderBufferSizeInBytes = AudioRecord.getMinBufferSize(samplingRate, in computeDefaultSettings()
89 return new TestSettings(samplingRate, minPlayerBufferSizeInBytes, in computeDefaultSettings()
93 public LoopbackAudioThread(int samplingRate, int playerBufferInBytes, int recorderBufferInBytes, in LoopbackAudioThread() argument
99 mSamplingRate = samplingRate; in LoopbackAudioThread()
DToneGeneration.java30 public ToneGeneration(int samplingRate) { in ToneGeneration() argument
31 mSamplingRate = samplingRate; in ToneGeneration()
DSoundLevelCalibration.java55 SoundLevelCalibration(int threadType, int samplingRate, int playerBufferSizeInBytes, in SoundLevelCalibration() argument
60 samplingRate); in SoundLevelCalibration()
62 mNativeAudioThread = new NativeAudioThread(threadType, samplingRate, in SoundLevelCalibration()
DCorrelation.java52 public void init(int blockSize, int samplingRate) { in init() argument
54 mSamplingRate = samplingRate; in init()
57 public void computeCorrelation(double [] data, int samplingRate) { in computeCorrelation() argument
59 mSamplingRate = samplingRate; in computeCorrelation()
DRampedSineTone.java26 public RampedSineTone(int samplingRate, double frequency) { in RampedSineTone() argument
27 super(samplingRate, frequency); in RampedSineTone()
DSineWaveTone.java33 public SineWaveTone(int samplingRate, double frequency) { in SineWaveTone() argument
34 super(samplingRate); in SineWaveTone()
DNativeAudioThread.java106 int samplingRate = AudioTrack.getNativeOutputSampleRate(AudioManager.STREAM_MUSIC); in computeDefaultSettings() local
114 return new TestSettings(samplingRate, minBufferSizeInBytes, minBufferSizeInBytes); in computeDefaultSettings()
117 public NativeAudioThread(int threadType, int samplingRate, int playerBufferInBytes, in NativeAudioThread() argument
123 mSamplingRate = samplingRate; in NativeAudioThread()
167 int samplingRate, int frameCount, int micSource, in nativeInit() argument
DSettingsActivity.java100 int samplingRate = getApp().getSamplingRate(); in onCreate() local
110 String currentValue = String.valueOf(samplingRate); in onCreate()
331 int samplingRate = getApp().getSamplingRate(); in refresh() local
332 String currentValue = String.valueOf(samplingRate); in refresh()
361 int samplingRate = Integer.parseInt(stringValue); in onItemSelected() local
362 getApp().setSamplingRate(samplingRate); in onItemSelected()
DAudioFileOutput.java44 public AudioFileOutput(Context context, Uri uri, int samplingRate) { in AudioFileOutput() argument
47 mSamplingRate = samplingRate; in AudioFileOutput()
/external/v8/tools/
Dprofile_view.js35 function ViewBuilder(samplingRate) { argument
36 this.samplingRate = samplingRate;
50 var samplingRate = this.samplingRate;
53 var totalWeight = node.totalWeight * samplingRate;
54 var selfWeight = node.selfWeight * samplingRate;
/external/aac/libAACdec/src/
Dchannelinfo.cpp227 UINT samplingRate) { in getSamplingRateInfo() argument
235 UINT i, samplingRateSearch = samplingRate; in getSamplingRateInfo()
238 samplingRateSearch = (samplingRate * 4) / 3; in getSamplingRateInfo()
251 t->samplingRate = samplingRate; in getSamplingRateInfo()
285 t->samplingRate = 0; in getSamplingRateInfo()
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dloopback2.cpp36 int lb2ComputeDefaultSettings(int performanceMode, int *samplingRate, in lb2ComputeDefaultSettings() argument
40 samplingRate, playerBufferFrameCount, recorderBufferFrameCount) ? in lb2ComputeDefaultSettings()
44 int lb2Init(void **ppLbData, int samplingRate, int frameCount, int /*micSource*/, in lb2Init() argument
54 CHANNEL_COUNT, samplingRate, ignoreFirstFrames, loopbackTone)); in lb2Init()
64 CHANNEL_COUNT, samplingRate, frequency1, std::move(byteBuffer))); in lb2Init()
Dsound_system_aaudio.cpp213 PerformanceMode performanceMode, int *samplingRate, int *playerBufferFrameCount);
258 PerformanceMode performanceMode, int *samplingRate, int *playerBufferFrameCount) { in probeDefaults() argument
263 *samplingRate = mStream->getSamplingRateHz(); in probeDefaults()
265 mStream->getFramesPerBurst(), MINIMUM_STREAM_BUFFER_SIZE_MS, *samplingRate); in probeDefaults()
328 PerformanceMode performanceMode, int *samplingRate, int *recorderBufferFrameCount);
361 PerformanceMode performanceMode, int *samplingRate, int *recorderBufferFrameCount) { in probeDefaults() argument
366 *samplingRate = mStream->getSamplingRateHz(); in probeDefaults()
368 mStream->getFramesPerBurst(), MINIMUM_STREAM_BUFFER_SIZE_MS, *samplingRate); in probeDefaults()
450 bool SoundSystemAAudio::probeDefaultSettings(PerformanceMode performanceMode, int *samplingRate, in probeDefaultSettings() argument
454 performanceMode, samplingRate, recorderBufferFrameCount) in probeDefaultSettings()
[all …]
Dloopback2.h26 int lb2ComputeDefaultSettings(int performanceMode, int *samplingRate,
28 int lb2Init(void ** ppCtx, int samplingRate, int frameCount, int micSource,
/external/libchrome/base/sampling_heap_profiler/
Dbenchmark-octane.js11 async function runOctane(samplingRate) { argument
13 if (samplingRate)
14 args.push(`--sampling-heap-profiler=${samplingRate}`);
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Djni_native.c42 int samplingRate, playerBufferFrameCount, recorderBufferFrameCount; in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings() local
43 if (sEngines[engine].computeDefaultSettings(performanceMode, &samplingRate, in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings()
48 samplingRate, in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings()
58 (JNIEnv *env, jobject obj __unused, jint threadType, jint samplingRate, jint frameCount, in Java_org_drrickorang_loopback_NativeAudioThread_nativeInit() argument
80 if (sEngines[engine].init(&pContext, samplingRate, frameCount, micSource, in Java_org_drrickorang_loopback_NativeAudioThread_nativeInit()
Dloopback_sles.h26 int slesComputeDefaultSettings(int performanceMode, int *samplingRate,
28 int slesInit(void ** ppCtx, int samplingRate, int frameCount, int micSource,
Dloopback.h57 int (*computeDefaultSettings)(int performanceMode, int *samplingRate,
59 int (*init)(void **ppCtx, int samplingRate, int frameCount, int micSource,
/external/aac/libAACenc/src/
Daacenc.cpp123 const INT samplingRate) { in FDKaacEnc_CalcBitsPerFrame() argument
126 (samplingRate & ~((1 << (shift + 1)) - 1)) == samplingRate) { in FDKaacEnc_CalcBitsPerFrame()
130 return (bitRate * (frameLength >> shift)) / (samplingRate >> shift); in FDKaacEnc_CalcBitsPerFrame()
134 const INT samplingRate) { in FDKaacEnc_CalcBitrate() argument
137 (samplingRate & ~((1 << (shift + 1)) - 1)) == samplingRate) { in FDKaacEnc_CalcBitrate()
141 return (bitsPerFrame * (samplingRate >> shift)) / (frameLength >> shift); in FDKaacEnc_CalcBitrate()
Daacenc.h278 const INT samplingRate);
291 const INT samplingRate);
/external/aac/libMpegTPEnc/include/
Dtp_data.h370 const INT samplingRate, const INT frameSize,
419 static inline int getSamplingRateIndex(UINT samplingRate, UINT nBits) { in getSamplingRateIndex() argument
424 if (SamplingRateTable[sf_index] == samplingRate) break; in getSamplingRateIndex()
/external/aac/libMpegTPDec/include/
Dtp_data.h370 const INT samplingRate, const INT frameSize,
419 static inline int getSamplingRateIndex(UINT samplingRate, UINT nBits) { in getSamplingRateIndex() argument
424 if (SamplingRateTable[sf_index] == samplingRate) break; in getSamplingRateIndex()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaRecorder.java72 protected void setAudioSamplingRate(int samplingRate) { in setAudioSamplingRate() argument
73 audioSamplingRate = samplingRate; in setAudioSamplingRate()

123