Chromium Code Reviews| Index: media/audio/audio_util.h |
| =================================================================== |
| --- media/audio/audio_util.h (revision 105774) |
| +++ media/audio/audio_util.h (working copy) |
| @@ -79,9 +79,12 @@ |
| int16* destination, |
| size_t number_of_frames); |
| -// Returns the default audio hardware sample-rate. |
| +// Returns the default audio input hardware sample-rate. |
|
Chris Rogers
2011/10/19 00:55:18
comment is backwards:
should be "audio output"
henrika (OOO until Aug 14)
2011/10/19 15:42:43
Thanks!
|
| MEDIA_EXPORT double GetAudioHardwareSampleRate(); |
| +// Returns the default audio output hardware sample-rate. |
|
Chris Rogers
2011/10/19 00:55:18
should be "audio input"
henrika (OOO until Aug 14)
2011/10/19 15:42:43
Done.
|
| +MEDIA_EXPORT double GetAudioInputHardwareSampleRate(); |
| + |
| // Returns the optimal low-latency buffer size for the audio hardware. |
| // This is the smallest buffer size the system can comfortably render |
| // at without glitches. The buffer size is in sample-frames. |