Name: capi-media-audio-io
Summary: An Audio Input & Audio Output library in Tizen Native API
-Version: 0.5.2
+Version: 0.5.3
Release: 0
Group: Multimedia/API
License: Apache-2.0
%description devel
An Audio Input & Audio Output library in Tizen Native API (DEV)
+%package tool
+Summary: An Audio Input & Audio Output library in Tizen Native API (Tool)
+Group: Multimedia/Development
+Requires: %{name} = %{version}-%{release}
+
+%description tool
+An Audio Input & Audio Output library in Tizen Native API (Tool)
+
%prep
%setup -q
cp %{SOURCE1001} .
%{_includedir}/media/audio_io.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-media-audio-io.so
-%{_prefix}/bin/audio_io_test
+%files tool
+%manifest %{name}.manifest
+%{_prefix}/bin/audio_io_test
try {
internalLock();
+ if (mpPulseAudioClient && mpPulseAudioClient->isInThread())
+ THROW_ERROR_MSG(CAudioError::EError::ERROR_INVALID_OPERATION, "Can't unprepare inside pulseaudio thread");
SAFE_FINALIZE(mpPulseAudioClient);
SAFE_DELETE(mpPulseAudioClient);
internalUnlock();
try {
internalLock();
+ if (mpPulseAudioClient && mpPulseAudioClient->isInThread())
+ THROW_ERROR_MSG(CAudioError::EError::ERROR_INVALID_OPERATION, "Can't unprepare inside pulseaudio thread");
SAFE_FINALIZE(mpPulseAudioClient);
SAFE_DELETE(mpPulseAudioClient);
internalUnlock();