summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp
diff options
context:
space:
mode:
authorAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>2017-09-28 17:09:28 +0200
committerJacqueline Molz <Jacqueline.Molz@bmw.de>2018-02-13 12:48:34 +0100
commit6b6342f5381138aeecea93e153de021e42db8283 (patch)
tree9e0daac643ef1d73717804b90ac825646d81c9a9 /AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp
parent911742f8b3798eaf03c56246539a402cc145eec8 (diff)
downloadaudiomanager-6b6342f5381138aeecea93e153de021e42db8283.tar.gz
* All methods in CAPI wrapper with connectionID parameter are deprecated because CommonAPI creates new filedescriptor per connection which isn't needed.
* revents flag is passed to the CommonAPI watcher instead events * revents set to 0 in Sockethandler Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9d9d2c424ac9fad62c76a66545c731c518adb2e4
Diffstat (limited to 'AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp')
-rw-r--r--AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp b/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp
index 2aa8370..126b649 100644
--- a/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp
+++ b/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp
@@ -156,7 +156,7 @@ void CAmCommonAPIWrapper::commonFireCallback(const pollfd pollfd, const sh_pollH
return;
}
- mWatchToCheck->dispatch(pollfd.events);
+ mWatchToCheck->dispatch(pollfd.revents);
}
void CAmCommonAPIWrapper::commonPrepareCallback(const sh_pollHandle_t, void*)