From 006e3014e81026bb5ffbac9a1f4a0290c6b378cb Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Mon, 12 Apr 2010 12:41:17 +0000 Subject: [PATCH] - Fix default audio system to be portaudio, when there is some changes in sound devices between runs. --- .../impl/neomedia/device/DeviceConfiguration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/net/java/sip/communicator/impl/neomedia/device/DeviceConfiguration.java b/src/net/java/sip/communicator/impl/neomedia/device/DeviceConfiguration.java index 021f4f699..d824d37f8 100644 --- a/src/net/java/sip/communicator/impl/neomedia/device/DeviceConfiguration.java +++ b/src/net/java/sip/communicator/impl/neomedia/device/DeviceConfiguration.java @@ -225,7 +225,7 @@ else if (audioCaptureDevices.length < 1) if(audioDevName == null) { - // the default behaviour if nothing set is to use javasound + // the default behaviour if nothing set is to use portaudio // this will also choose the capture device if(PortAudioAuto.isSupported()) { @@ -255,11 +255,11 @@ else if (audioCaptureDevices.length < 1) { logger.warn("Computer sound config changed or " + "there is a problem since last config was saved, " + - "will back to javasound"); + "will back to default"); setAudioPlaybackDevice(null, false); setAudioNotifyDevice(null, false); setAudioCaptureDevice(null, false); - setAudioSystem(AUDIO_SYSTEM_JAVASOUND, null, false); + setAudioSystem(AUDIO_SYSTEM_PORTAUDIO, null, false); } } if (audioCaptureDevice != null)