diff -r dd116fe87e33 libs/sipwrapper/src/phapi/PhApiWrapper.cpp
--- a/libs/sipwrapper/src/phapi/PhApiWrapper.cpp	Wed Jul 13 15:02:25 2011 +0200
+++ b/libs/sipwrapper/src/phapi/PhApiWrapper.cpp	Wed Jul 13 17:12:56 2011 +0200
@@ -496,8 +496,7 @@
 }
 
 bool PhApiWrapper::setCallInputAudioDevice(const std::string & device) {
-	_inputAudioDevice = device;
-	return setAudioDevices();
+	return !phChangeAudioDeviceIn(device.c_str());
 }
 
 bool PhApiWrapper::setRingerOutputAudioDevice(const std::string & device) {
@@ -505,24 +504,7 @@
 }
 
 bool PhApiWrapper::setCallOutputAudioDevice(const std::string & device) {
-	_outputAudioDevice = device;
-	return setAudioDevices();
-}
-
-bool PhApiWrapper::setAudioDevices() {
-	std::string devices;
-	
-	if(_inputAudioDevice.length() > 0)
-		devices = "IN="+ _inputAudioDevice + ";";
-	
-	if(_outputAudioDevice.length() > 0)
-		devices += "OUT="+ _outputAudioDevice;
-	
-	if(devices.length() > 0)
-		if(!phChangeAudioDevices(devices.c_str()))
-			return true;
-
-	return false;
+	return !phChangeAudioDeviceOut(device.c_str());
 }
 
 void PhApiWrapper::enableAEC(bool enable) {
diff -r dd116fe87e33 libs/sipwrapper/src/phapi/PhApiWrapper.h
--- a/libs/sipwrapper/src/phapi/PhApiWrapper.h	Wed Jul 13 15:02:25 2011 +0200
+++ b/libs/sipwrapper/src/phapi/PhApiWrapper.h	Wed Jul 13 17:12:56 2011 +0200
@@ -348,9 +348,6 @@
 	/** @see changeMyPresence() */
 	//void publishOffline(const std::string & note);
 
-	/** Changes audio devices inside PhApi. */
-	bool setAudioDevices();
-
 	/** Makes a SIP uri from a contact id. */
 	/* (checks if a domain is set, otherwise adds the default one) */
 	std::string makeSipAddress(const std::string & contactId);
@@ -373,12 +370,6 @@
 	/** Realm for the QuteCom SIP service. */
 	std::string _qutecomRealm;
 
-	/** Playback audio device. */
-	std::string _outputAudioDevice;
-
-	/** Record audio device. */
-	std::string _inputAudioDevice;
-
 	std::map<int, IMChatSession *> _messageIdChatSessionMap;
 
 	std::map<const std::string, IMChatSession *> _contactChatMap;
