Cleanup, remove warning.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4305 0c269be4-1314-0410-8aa9-9f06e86f4224
This commit is contained in:
parent
79a5f3a537
commit
3ddcd74be0
|
@ -378,28 +378,28 @@ namespace Jack
|
|||
|
||||
for (int audio_port_index = 0; audio_port_index < fCaptureChannels; audio_port_index++) {
|
||||
if (fCapturePortList[audio_port_index] > 0) {
|
||||
fGraphManager->ReleasePort ( fClientControl.fRefNum, fCapturePortList[audio_port_index]);
|
||||
fGraphManager->ReleasePort(fClientControl.fRefNum, fCapturePortList[audio_port_index]);
|
||||
fCapturePortList[audio_port_index] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
for (int audio_port_index = 0; audio_port_index < fPlaybackChannels; audio_port_index++) {
|
||||
if (fPlaybackPortList[audio_port_index] > 0) {
|
||||
fGraphManager->ReleasePort ( fClientControl.fRefNum, fPlaybackPortList[audio_port_index]);
|
||||
fGraphManager->ReleasePort(fClientControl.fRefNum, fPlaybackPortList[audio_port_index]);
|
||||
fPlaybackPortList[audio_port_index] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
for (int midi_port_index = 0; midi_port_index < fParams.fSendMidiChannels; midi_port_index++) {
|
||||
if (fMidiCapturePortList && fMidiCapturePortList[midi_port_index] > 0) {
|
||||
fGraphManager->ReleasePort ( fClientControl.fRefNum, fMidiCapturePortList[midi_port_index]);
|
||||
fMidiCapturePortList[midi_port_index] =0;
|
||||
fGraphManager->ReleasePort(fClientControl.fRefNum, fMidiCapturePortList[midi_port_index]);
|
||||
fMidiCapturePortList[midi_port_index] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
for (int midi_port_index = 0; midi_port_index < fParams.fReturnMidiChannels; midi_port_index++) {
|
||||
if (fMidiPlaybackPortList && fMidiPlaybackPortList[midi_port_index] > 0) {
|
||||
fGraphManager->ReleasePort ( fClientControl.fRefNum, fMidiPlaybackPortList[midi_port_index]);
|
||||
fGraphManager->ReleasePort(fClientControl.fRefNum, fMidiPlaybackPortList[midi_port_index]);
|
||||
fMidiPlaybackPortList[midi_port_index] = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,11 +55,11 @@ $Id: net_driver.c,v 1.17 2006/04/16 20:16:10 torbenh Exp $
|
|||
#include <samplerate.h>
|
||||
#endif
|
||||
|
||||
#include "JackError.h"
|
||||
|
||||
#include "netjack.h"
|
||||
#include "netjack_packet.h"
|
||||
|
||||
#include "JackError.h"
|
||||
|
||||
#define MIN(x,y) ((x)<(y) ? (x) : (y))
|
||||
|
||||
static int sync_state = 1;
|
||||
|
|
|
@ -68,14 +68,14 @@
|
|||
#include <samplerate.h>
|
||||
#endif
|
||||
|
||||
#include "JackError.h"
|
||||
|
||||
#if HAVE_CELT
|
||||
#include <celt/celt.h>
|
||||
#endif
|
||||
|
||||
#include "netjack_packet.h"
|
||||
|
||||
#include "JackError.h"
|
||||
|
||||
#ifdef NO_JACK_ERROR
|
||||
#define jack_error printf
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,7 @@ showtime ()
|
|||
transport_state = jack_transport_query (client, ¤t);
|
||||
frame_time = jack_frame_time (client);
|
||||
|
||||
printf ("frame = %u frame_time = %u usecs = %lld \t", current.frame, frame_time, current.usecs);
|
||||
printf ("frame = %u frame_time = %u usecs = %ld \t", current.frame, frame_time, current.usecs);
|
||||
|
||||
switch (transport_state) {
|
||||
case JackTransportStopped:
|
||||
|
|
Loading…
Reference in New Issue