Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TPF
jacktrip
Commits
64d4f802
Commit
64d4f802
authored
Oct 13, 2009
by
jcacerec
Browse files
fixed a new bug in server
parent
5103ba49
Changes
4
Hide whitespace changes
Inline
Side-by-side
jacktrip/src/JackTrip.h
View file @
64d4f802
...
...
@@ -400,6 +400,7 @@ public:
/// \brief Starts for the SERVER mode
/// \param timout Set the server to timeout after 2 seconds if no client connections are received.
/// Usefull for the multithreaded server
/// \return 0 on success, -1 on error
int
serverStart
(
bool
timeout
=
false
,
int
udpTimeout
=
gTimeOutMultiThreadedServer
)
throw
(
std
::
invalid_argument
,
std
::
runtime_error
);
/// \brief Stats for the Client to Ping Server
...
...
jacktrip/src/JackTripWorker.cpp
View file @
64d4f802
...
...
@@ -155,8 +155,6 @@ void JackTripWorker::run()
return
;
}
// Start Threads and event loop
jacktrip
.
startProcess
();
jacktrip
.
start
();
// ########### JamTest Only #################
...
...
jacktrip/src/JackTripWorker.h
View file @
64d4f802
...
...
@@ -87,6 +87,10 @@ public:
int
num_channels
);
/// Stop and remove thread from pool
void
stopThread
();
int
getID
()
{
return
mID
;
}
private
slots
:
...
...
jacktrip/src/UdpMasterListener.cpp
View file @
64d4f802
...
...
@@ -186,7 +186,6 @@ void UdpMasterListener::run()
// --------------------
// Register JackTripWorker with the master listener
delete
mJTWorkers
->
at
(
id
);
// just in case the Worker was previously created
mJTWorkers
->
insert
(
id
,
NULL
);
mJTWorkers
->
replace
(
id
,
new
JackTripWorker
(
this
));
// redirect port and spawn listener
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment