Commit 588bd75e authored by sletz's avatar sletz
Browse files

Add NetTransportDataDisplay method in JackNetTool.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3398 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 897d9ee6
......@@ -377,6 +377,15 @@ namespace Jack
jack_info ( "**********************************************" );
}
SERVER_EXPORT void NetTransportDataDisplay ( net_transport_data_t* data )
{
jack_info ( "********************Network Transport********************" );
jack_info ( "Transport new state : %u", data->fNewState );
jack_info ( "Transport timebase master : %u", data->fTimebaseMaster );
jack_info ( "Transport cycle state : %u", data->fState );
jack_info ( "**********************************************" );
}
SERVER_EXPORT void MidiBufferHToN ( JackMidiBuffer* src_buffer, JackMidiBuffer* dst_buffer )
{
dst_buffer->magic = htonl(src_buffer->magic);
......
......@@ -292,4 +292,5 @@ namespace Jack
SERVER_EXPORT int SetPacketType ( session_params_t* params, sync_packet_type_t packet_type );
//transport utility
SERVER_EXPORT const char* GetTransportState ( int transport_state );
SERVER_EXPORT void NetTransportDataDisplay ( net_transport_data_t* data );
}
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