Chromium Code Reviews| Index: media/base/audio_hardware_config.cc |
| diff --git a/media/base/audio_hardware_config.cc b/media/base/audio_hardware_config.cc |
| index d72fce7b4e234c2f225e28b528c15900dd2582d2..b0996b2a0d50036b1002640397783ba109355778 100644 |
| --- a/media/base/audio_hardware_config.cc |
| +++ b/media/base/audio_hardware_config.cc |
| @@ -38,6 +38,11 @@ int AudioHardwareConfig::GetOutputChannels() const { |
| return output_params_.channels(); |
| } |
| +int AudioHardwareConfig::GetInputBufferSize() const { |
|
tommi (sloooow) - chröme
2013/09/06 11:20:30
If we can avoid adding this that'd be great. We'r
|
| + AutoLock auto_lock(config_lock_); |
| + return input_params_.frames_per_buffer(); |
| +} |
| + |
| int AudioHardwareConfig::GetInputSampleRate() const { |
| AutoLock auto_lock(config_lock_); |
| return input_params_.sample_rate(); |