Update portaudio for macosx.

cusax-fix
Damian Minkov 16 years ago
parent f8fbcfaf7f
commit c7ae54b77b

@ -54,7 +54,7 @@
- Mac OS X
CC=gcc -arch i386 -arch ppc -arch x86_64 -mmacosx-version-min=10.3
LDFLAGS=-dynamiclib
LIBS=-L$(PORTAUDIO_HOME)/lib/.libs -framework AudioToolbox -framework AudioUnit -framework CoreAudio -framework Carbon -lpthread -pthread -dynamic -lportaudio -lspeexdsp
LIBS=-L$(SPEEX_HOME)/libspeex/.libs -L$(PORTAUDIO_HOME)/lib/.libs -framework AudioToolbox -framework AudioUnit -framework CoreAudio -framework Carbon -lpthread -pthread -dynamic -lportaudio -lspeexdsp
$ make
- Windows

@ -129,7 +129,7 @@ public class DeviceConfiguration
/**
* Property used to store the latency option we use for current OS.
* Must be like 0.1(means 100 ms.).
* Must be in milliseconds.
*/
private static final String PROP_AUDIO_LATENCY =
"net.java.sip.communicator.impl.neomedia.latency";

@ -106,6 +106,10 @@ synchronized void start(InputPortAudioStream slave)
if(stream == 0)
initStream();
// if still not initted return
if(stream == 0)
return;
// start
PortAudio.Pa_StartStream(stream);
started = true;

Loading…
Cancel
Save