OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "webkit/glue/plugins/webplugin_audio_device_delegate.h" |
| 6 |
| 7 namespace webkit_glue { |
| 8 |
| 9 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryCapability( |
| 10 int32 capability, int32* value) { |
| 11 return NPERR_GENERIC_ERROR; |
| 12 } |
| 13 |
| 14 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryConfig( |
| 15 const NPDeviceContextAudioConfig* request, |
| 16 NPDeviceContextAudioConfig* obtain) { |
| 17 return NPERR_GENERIC_ERROR; |
| 18 } |
| 19 |
| 20 NPError WebPluginAudioDeviceDelegate::DeviceAudioInitializeContext( |
| 21 const NPDeviceContextAudioConfig* config, |
| 22 NPDeviceContextAudio* context) { |
| 23 return NPERR_GENERIC_ERROR; |
| 24 } |
| 25 |
| 26 NPError WebPluginAudioDeviceDelegate::DeviceAudioSetStateContext( |
| 27 NPDeviceContextAudio* context, |
| 28 int32 state, intptr_t value) { |
| 29 return NPERR_GENERIC_ERROR; |
| 30 } |
| 31 |
| 32 NPError WebPluginAudioDeviceDelegate::DeviceAudioGetStateContext( |
| 33 NPDeviceContextAudio* context, |
| 34 int32 state, intptr_t* value) { |
| 35 return NPERR_GENERIC_ERROR; |
| 36 } |
| 37 |
| 38 NPError WebPluginAudioDeviceDelegate::DeviceAudioFlushContext( |
| 39 NPP id, NPDeviceContextAudio* context, |
| 40 NPDeviceFlushContextCallbackPtr callback, void* user_data) { |
| 41 return NPERR_GENERIC_ERROR; |
| 42 } |
| 43 |
| 44 NPError WebPluginAudioDeviceDelegate::DeviceAudioDestroyContext( |
| 45 NPDeviceContextAudio* context) { |
| 46 return NPERR_GENERIC_ERROR; |
| 47 } |
| 48 |
| 49 |
| 50 } // namespace webkit_glue |
OLD | NEW |