Browse Source

Compile on Linux again.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4174 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.7
sletz 14 years ago
parent
commit
b9eafba2b8
3 changed files with 2 additions and 8 deletions
  1. +1
    -1
      common/JackDummyDriver.cpp
  2. +0
    -7
      common/netjack.c
  3. +1
    -0
      example-clients/connect.c

+ 1
- 1
common/JackDummyDriver.cpp View File

@@ -56,7 +56,7 @@ int JackDummyDriver::Open(jack_nframes_t buffer_size,
fEngineControl->fPeriod = 0;
fEngineControl->fComputation = 500 * 1000;
fEngineControl->fConstraint = 500 * 1000;
int buffer_size = (fWaitTime * fEngineControl->fSampleRate) / 1000000.0f;
int buffer_size = int((fWaitTime * fEngineControl->fSampleRate) / 1000000.0f);
if (buffer_size > BUFFER_SIZE_MAX) {
buffer_size = BUFFER_SIZE_MAX;
jack_error("Buffer size set to %d ", BUFFER_SIZE_MAX);


+ 0
- 7
common/netjack.c View File

@@ -25,7 +25,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: net_driver.c,v 1.17 2006/04/16 20:16:10 torbenh Exp $
*/


#include <math.h>
#include <stdio.h>
#include <memory.h>
@@ -48,8 +47,6 @@ $Id: net_driver.c,v 1.17 2006/04/16 20:16:10 torbenh Exp $
#include <netinet/in.h>
#endif

#include "netjack.h"

#ifdef __linux__
#include "config.h"
#endif
@@ -58,10 +55,6 @@ $Id: net_driver.c,v 1.17 2006/04/16 20:16:10 torbenh Exp $
#include <samplerate.h>
#endif

#if HAVE_CELT
#include <celt/celt.h>
#endif

#include "netjack.h"
#include "netjack_packet.h"



+ 1
- 0
example-clients/connect.c View File

@@ -26,6 +26,7 @@
#include <math.h>
#include <getopt.h>
#include <jack/jack.h>
#include <jack/session.h>

jack_port_t *input_port;
jack_port_t *output_port;


Loading…
Cancel
Save