| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ppapi/thunk/thunk.h" | 5 #include "ppapi/thunk/thunk.h" |
| 6 #include "ppapi/thunk/enter.h" | 6 #include "ppapi/thunk/enter.h" |
| 7 #include "ppapi/thunk/ppb_audio_config_api.h" | 7 #include "ppapi/thunk/ppb_audio_config_api.h" |
| 8 #include "ppapi/thunk/resource_creation_api.h" | 8 #include "ppapi/thunk/resource_creation_api.h" |
| 9 | 9 |
| 10 namespace ppapi { | 10 namespace ppapi { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 const PPB_AudioConfig g_ppb_audio_config_thunk = { | 55 const PPB_AudioConfig g_ppb_audio_config_thunk = { |
| 56 &CreateStereo16bit, | 56 &CreateStereo16bit, |
| 57 &RecommendSampleFrameCount, | 57 &RecommendSampleFrameCount, |
| 58 &IsAudioConfig, | 58 &IsAudioConfig, |
| 59 &GetSampleRate, | 59 &GetSampleRate, |
| 60 &GetSampleFrameCount | 60 &GetSampleFrameCount |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace | 63 } // namespace |
| 64 | 64 |
| 65 const PPB_AudioConfig* GetPPB_AudioConfig_Thunk() { | 65 const PPB_AudioConfig_1_0* GetPPB_AudioConfig_1_0_Thunk() { |
| 66 return &g_ppb_audio_config_thunk; | 66 return &g_ppb_audio_config_thunk; |
| 67 } | 67 } |
| 68 | 68 |
| 69 } // namespace thunk | 69 } // namespace thunk |
| 70 } // namespace ppapi | 70 } // namespace ppapi |
| OLD | NEW |