2 * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #ifndef __TIZEN_MEDIA_AUDIO_IO_CPULSEAUDIO_VOLUME_H__
20 #define __TIZEN_MEDIA_AUDIO_IO_CPULSEAUDIO_VOLUME_H__
26 namespace tizen_media_audio {
32 class CPulseAudioVolume {
36 VOLUME_SYSTEM, /**< System volume type */
37 VOLUME_NOTIFICATION, /**< Notification volume type */
38 VOLUME_ALARM, /**< Alarm volume type */
39 VOLUME_RINGTONE, /**< Ringtone volume type */
40 VOLUME_MEDIA, /**< Media volume type */
41 VOLUME_CALL, /**< Call volume type */
42 VOLUME_VOIP, /**< VOIP volume type */
43 VOLUME_VOICE, /**< VOICE volume type */
44 VOLUME_FIXED, /**< Volume type for fixed acoustic level */
45 VOLUME_EXT_ANDROID = VOLUME_FIXED, /**< External system volume for Android */
46 VOLUME_MAX /**< Volume type count */
56 VOLUME_GAIN_CAMCORDING,
64 /* Constructor & Destructor */
66 CPulseAudioVolume(EVolume volume, EVolumeGain gain);
72 void setVolume(EVolume volume);
75 void setVolumeGain(EVolumeGain volumeGain);
76 EVolumeGain getVolumeGain();
81 EVolumeGain __mVolumeGain;
85 } /* namespace tizen_media_audio */
88 #endif /* __TIZEN_MEDIA_AUDIO_IO_CPULSEAUDIO_VOLUME_H__ */