From 0cb4e351eebd889a4a20068bebe700e7aeec0349 Mon Sep 17 00:00:00 2001 From: sletz Date: Tue, 19 Apr 2011 10:49:06 +0000 Subject: [PATCH] Update libjacknet Windows project. git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4329 0c269be4-1314-0410-8aa9-9f06e86f4224 --- ChangeLog | 3 +- common/JackNetTool.cpp | 4 +- .../iPhoneNet.xcodeproj/project.pbxproj | 7 ++ windows/libjacknet.cbp | 107 +++++++++++++++++- windows/libjacknet.rc | 10 +- 5 files changed, 119 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60b40651..31928bb8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -27,6 +27,7 @@ Mario Lang Arnold Krille Jan Engelhardt Adrian Knoth +David Garcia Garzon Valerio Pilo --------------------------- @@ -106,7 +107,7 @@ Valerio Pilo * jack_client_has_session_callback implementation. * Fix jdelay for new latency API. - * Check requested buffer size and limit to 1..8192 - avoids wierd behaviour caused by jack_bufsize foobar. + * Check requested buffer size and limit to 1..8192 - avoids weird behaviour caused by jack_bufsize foobar. * jack_port_type_get_buffer_size implementation. * Stop using alloca and allocate buffer on the heap for alsa_io. * Rename jdelay to jack_iodelay as per Fons' request. diff --git a/common/JackNetTool.cpp b/common/JackNetTool.cpp index bd79beba..43179844 100644 --- a/common/JackNetTool.cpp +++ b/common/JackNetTool.cpp @@ -393,7 +393,7 @@ namespace Jack #if HAVE_CELT_API_0_8 || HAVE_CELT_API_0_11 int res = celt_encode_float(fCeltEncoder[port_index], floatbuf, fPeriodSize, fCompressedBuffer[port_index], fCompressedSizeByte); #else - int res = celt_encode_float(fCeltEncoder[port_index], floatbuf, NULL, fCompressedBuffer[port_index], fCompressedSizeByte); + int res = celt_encode_float(fCeltEncoder[port_index], floatbuf, NULL, fCompressedBuffer[port_index], fCompressedSizeByte); #endif if (res != fCompressedSizeByte) { jack_error("celt_encode_float error fCompressedSizeByte = %d res = %d", fCompressedSizeByte, res); @@ -409,7 +409,7 @@ namespace Jack #if HAVE_CELT_API_0_8 || HAVE_CELT_API_0_11 int res = celt_decode_float(fCeltDecoder[port_index], fCompressedBuffer[port_index], fCompressedSizeByte, fPortBuffer[port_index], fPeriodSize ); #else - int res = celt_decode_float(fCeltDecoder[port_index], fCompressedBuffer[port_index], fCompressedSizeByte, fPortBuffer[port_index]); + int res = celt_decode_float(fCeltDecoder[port_index], fCompressedBuffer[port_index], fCompressedSizeByte, fPortBuffer[port_index]); #endif if (res != CELT_OK) { jack_error("celt_decode_float error res = %d", fCompressedSizeByte, res); diff --git a/macosx/iphone/iPhoneNet.xcodeproj/project.pbxproj b/macosx/iphone/iPhoneNet.xcodeproj/project.pbxproj index eff06935..56bc518a 100755 --- a/macosx/iphone/iPhoneNet.xcodeproj/project.pbxproj +++ b/macosx/iphone/iPhoneNet.xcodeproj/project.pbxproj @@ -527,7 +527,14 @@ isa = PBXProject; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "iPhoneNet" */; compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; projectDirPath = ""; projectRoot = ""; diff --git a/windows/libjacknet.cbp b/windows/libjacknet.cbp index 18b88c61..3d890ca4 100644 --- a/windows/libjacknet.cbp +++ b/windows/libjacknet.cbp @@ -6,7 +6,98 @@