Commit 7681b6d7 authored by sletz's avatar sletz
Browse files

Correct initialization of transport state in NetJack.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3439 0c269be4-1314-0410-8aa9-9f06e86f4224
parent b1be660b
......@@ -674,13 +674,11 @@ int JackClient::TransportReposition(jack_position_t* pos)
jack_transport_state_t JackClient::TransportQuery(jack_position_t* pos)
{
jack_log("TransportQuery");
return GetEngineControl()->fTransport.Query(pos);
}
jack_nframes_t JackClient::GetCurrentTransportFrame()
{
jack_log("GetCurrentTransportFrame");
return GetEngineControl()->fTransport.GetCurrentFrame();
}
......
......@@ -45,6 +45,9 @@ namespace Jack
fSocket.GetName ( fParams.fSlaveNetName );
fParams.fTransportSync = transport_sync;
fParams.fNetworkMode = network_mode;
fSendTransportData.fState = -1;
fReturnTransportData.fState = -1;
fLastTransportState = -1;
fLastTimebaseMaster = -1;
fMidiCapturePortList = NULL;
fMidiPlaybackPortList = NULL;
......
......@@ -34,6 +34,9 @@ namespace Jack
//settings
fClientName = const_cast<char*> ( fParams.fName );
fJackClient = NULL;
fSendTransportData.fState = -1;
fReturnTransportData.fState = -1;
fLastTransportState = -1;
uint port_index;
//jack audio ports
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment