Browse Source

some fixes for compilation warnings/errors

(by Nedko)



git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1076 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.109.0
pieterpalmers 18 years ago
parent
commit
b64fcc53e3
4 changed files with 5 additions and 1 deletions
  1. +1
    -1
      drivers/dummy/dummy_driver.c
  2. +2
    -0
      example-clients/tw.c
  3. +1
    -0
      libjack/messagebuffer.c
  4. +1
    -0
      libjack/unlock.c

+ 1
- 1
drivers/dummy/dummy_driver.c View File

@@ -43,7 +43,7 @@
void
FakeVideoSync( dummy_driver_t *driver )
{
static const int VIDEO_SYNC_PERIOD = 48000 / 30;
#define VIDEO_SYNC_PERIOD (48000 / 30)
static int vidCounter = VIDEO_SYNC_PERIOD;
int period = driver->period_size;


+ 2
- 0
example-clients/tw.c View File

@@ -61,6 +61,8 @@ process (jack_nframes_t nframes, void* arg)
jack_client_t* client = (jack_client_t*) arg;

while ((nframes = jack_thread_wait (client, _process (nframes))) != 0);

return 0;
}

/**


+ 1
- 0
libjack/messagebuffer.c View File

@@ -33,6 +33,7 @@

#include <jack/messagebuffer.h>
#include <jack/atomicity.h>
#include <jack/internal.h>

/* MB_NEXT() relies on the fact that MB_BUFFERS is a power of two */
#define MB_BUFFERS 128


+ 1
- 0
libjack/unlock.c View File

@@ -25,6 +25,7 @@
#include <sys/mman.h>

#include "jack/unlock.h"
#include "jack/internal.h"

static char* blacklist[] = {
"/libgtk",


Loading…
Cancel
Save