Browse Source

Cleanup on Windows

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2286 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 17 years ago
parent
commit
ecfe36ebe4
2 changed files with 3 additions and 12 deletions
  1. +1
    -1
      windows/JackWinNamedPipeServerChannel.cpp
  2. +2
    -11
      windows/JackdmpWIN32.cpp

+ 1
- 1
windows/JackWinNamedPipeServerChannel.cpp View File

@@ -84,7 +84,7 @@ void JackClientPipeThread::Close() // Close the Server/Client connection
bool JackClientPipeThread::Execute()
{
jack_log("JackClientPipeThread::Execute");
return(HandleRequest();
return(HandleRequest());
}

bool JackClientPipeThread::HandleRequest()


+ 2
- 11
windows/JackdmpWIN32.cpp View File

@@ -36,7 +36,6 @@ static JackServer* fServer;
static char *server_name = "default";
static int realtime_priority = 10;
static int do_mlock = 1;
static unsigned int port_max = 128;
static int realtime = 0;
static int loopback = 0;
static int temporary = 0;
@@ -73,11 +72,8 @@ static void usage (FILE *file)
fprintf (file, "\n"
"usage: jackdmp [ --realtime OR -R [ --realtime-priority OR -P priority ] ]\n"
" [ --name OR -n server-name ]\n"
// " [ --no-mlock OR -m ]\n"
// " [ --unlock OR -u ]\n"
" [ --timeout OR -t client-timeout-in-msecs ]\n"
" [ --loopback OR -L loopback-port-number ]\n"
// " [ --port-max OR -p maximum-number-of-ports]\n"
" [ --verbose OR -v ]\n"
" [ --replace-registry OR -r ]\n"
" [ --silent OR -s ]\n"
@@ -252,10 +248,9 @@ BOOL CtrlHandler( DWORD fdwCtrlType )
int main(int argc, char* argv[])
{
jack_driver_desc_t * driver_desc;
const char *options = "-ad:P:uvshVRL:STFl:t:mn:p:";
const char *options = "-ad:P:uvshVRL:STFl:t:mn:";
struct option long_options[] = {
{ "driver", 1, 0, 'd'
},
{ "driver", 1, 0, 'd'},
{ "verbose", 0, 0, 'v' },
{ "help", 0, 0, 'h' },
{ "port-max", 1, 0, 'p' },
@@ -325,10 +320,6 @@ int main(int argc, char* argv[])
do_mlock = 0;
break;

case 'p':
port_max = (unsigned int)atol(optarg);
break;

case 'P':
realtime_priority = atoi(optarg);
break;


Loading…
Cancel
Save