Add error case of device policy restriction for audio_in_prepare() 45/69845/7 accepted/tizen/common/20160531.141855 accepted/tizen/ivi/20160602.022052 accepted/tizen/mobile/20160602.022128 accepted/tizen/tv/20160602.021912 accepted/tizen/wearable/20160602.022023 submit/tizen/20160530.013417
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 17 May 2016 04:37:57 +0000 (13:37 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 24 May 2016 05:59:58 +0000 (14:59 +0900)
commit50decba9f24c45652f621373f264123aeba7de9e
tree3a189436e9c5894f6126a57b9778a029039cda5c
parentd053e0bd173d9a50791ba0e4692baf2f768927c4
Add error case of device policy restriction for audio_in_prepare()

audio_in_prepare() can return an error enumerator for device policy restriction when pulseaudio does not work well due to the access denied.
print error value in audio_io_test.c

[Version] 0.3.36
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Icc1573c4ec97116d5455cad50631508aee55030e
include/CAudioError.h
include/audio_io.h
packaging/capi-media-audio-io.spec
src/cpp/CAudioError.cpp
src/cpp/CPulseAudioClient.cpp
src/cpp/cpp_audio_io.cpp
test/audio_io_test.c