| Index: ppapi/shared_impl/ppb_audio_config_shared.h
|
| ===================================================================
|
| --- ppapi/shared_impl/ppb_audio_config_shared.h (revision 118765)
|
| +++ ppapi/shared_impl/ppb_audio_config_shared.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -25,6 +25,12 @@
|
| PP_AudioSampleRate sample_rate,
|
| uint32_t sample_frame_count);
|
|
|
| + static PP_AudioSampleRate RecommendSampleRate(PP_Instance instance);
|
| + static uint32_t
|
| + RecommendSampleFrameCount(PP_Instance instance,
|
| + PP_AudioSampleRate sample_rate,
|
| + uint32_t request_sample_frame_count);
|
| +
|
| // Resource overrides.
|
| virtual thunk::PPB_AudioConfig_API* AsPPB_AudioConfig_API() OVERRIDE;
|
|
|
| @@ -41,7 +47,8 @@
|
|
|
| // Returns false if the arguments are invalid, the object should not be
|
| // used in this case.
|
| - bool Init(PP_AudioSampleRate sample_rate, uint32_t sample_frame_count);
|
| + bool Init(PP_AudioSampleRate sample_rate,
|
| + uint32_t sample_frame_count);
|
|
|
| PP_AudioSampleRate sample_rate_;
|
| uint32_t sample_frame_count_;
|
|
|