Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
audio_config_samsung.h
Go to the documentation of this file.
1 // Copyright (c) 2017 Samsung Electronics. 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 #ifndef PPAPI_CPP_SAMSUNG_AUDIO_CONFIG_SAMSUNG_H_
6 #define PPAPI_CPP_SAMSUNG_AUDIO_CONFIG_SAMSUNG_H_
7 
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/samsung/ppb_audio_config_samsung.h"
10 #include "ppapi/cpp/audio_config.h"
11 #include "ppapi/cpp/resource.h"
12 
16 
17 namespace pp {
18 
19 class InstanceHandle;
20 
22  public:
25 
39  AudioConfigSamsung(const InstanceHandle& instance,
40  PP_AudioSampleRate sample_rate,
41  uint32_t sample_frame_count);
42 
49  int32_t SetAudioMode(PP_AudioMode audio_mode);
50 };
51 
52 } // namespace pp
53 
54 #endif // PPAPI_CPP_SAMSUNG_AUDIO_CONFIG_SAMSUNG_H_
Definition: audio_config_samsung.h:21
PP_AudioSampleRate sample_rate() const
Definition: audio_config.h:117
uint32_t sample_frame_count() const
Definition: audio_config.h:122
Definition: instance_handle.h:44
Definition: audio_config.h:57
int32_t SetAudioMode(PP_AudioMode audio_mode)
AudioConfigSamsung()
An empty constructor for an AudioConfigSamsung resource.