Home
last modified time | relevance | path

Searched refs:kSampleRate (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/content/browser/speech/endpointer/
Dendpointer_unittest.cc11 const int kSampleRate = 8000; // 8 k samples per second for AMR encoding. variable
15 const int kFrameSize = kSampleRate / kFrameRate; // 160 samples.
54 time += static_cast<int64>(kFrameSize * (1e6 / kSampleRate)); in RunEndpointerEventsTest()
136 const int kSampleRate = 8000; // 8 k samples per second for AMR encoding. in TEST() local
138 Endpointer endpointer(kSampleRate); in TEST()
/external/chromium_org/media/audio/
Daudio_input_controller_unittest.cc23 static const int kSampleRate = AudioParameters::kAudioCDSampleRate; variable
26 static const int kSamplesPerPacket = kSampleRate / 10;
85 kSampleRate, kBitsPerSample, kSamplesPerPacket); in TEST_F()
123 kSampleRate, kBitsPerSample, kSamplesPerPacket); in TEST_F()
173 kSampleRate, kBitsPerSample, kSamplesPerPacket); in TEST_F()
211 kSampleRate, in TEST_F()
237 kSampleRate, in TEST_F()
Daudio_output_controller_unittest.cc29 static const int kSampleRate = AudioParameters::kAudioCDSampleRate; variable
32 static const int kSamplesPerPacket = kSampleRate / 100;
115 kSampleRate, kBitsPerSample, samples_per_packet); in Create()
Daudio_power_monitor_unittest.cc15 static const int kSampleRate = 48000; variable
157 : power_monitor_(kSampleRate, in AudioPowerMonitorTest()
/external/chromium_org/content/renderer/media/
Daudio_renderer_mixer_manager_unittest.cc21 static const int kSampleRate = 48000; variable
37 kSampleRate, in AudioRendererMixerManagerTest()
85 media::AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate, in TEST_F()
101 media::AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate * 2, in TEST_F()
128 media::AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate, in TEST_F()
/external/chromium_org/media/base/
Daudio_renderer_mixer_input_unittest.cc17 static const int kSampleRate = 48000; variable
25 AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate, in AudioRendererMixerInputTest()
Daudio_converter_unittest.cc29 static const int kSampleRate = 48000; variable
201 AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate, in TEST()
204 AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate * 2, in TEST()
Daudio_bus_unittest.cc20 static const int kSampleRate = 48000; variable
116 AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate, 32, in TEST_F()
138 AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate, 32, in TEST_F()
167 AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout, kSampleRate, 32, in TEST_F()
/external/chromium_org/media/audio/win/
Daudio_output_win_unittest.cc394 static const int kSampleRate = 16000; in TEST() local
395 SineWaveAudioSource source(1, 200.0, kSampleRate); in TEST()
397 const uint32 kSamples100ms = (kSampleRate / 1000) * 100; in TEST()
403 kSampleRate, 16, kSamples100ms), in TEST()