diff --git a/common/JackNetAPI.cpp b/common/JackNetAPI.cpp index 8ec46e45..78708110 100644 --- a/common/JackNetAPI.cpp +++ b/common/JackNetAPI.cpp @@ -846,13 +846,13 @@ struct JackNetExtSlave : public JackNetSlaveInterface, public JackRunnableInterf void DummyProcess() { // First cycle with INT_MAX time out - SetPackedTimeOut(INT_MAX); + SetPacketTimeOut(INT_MAX); // One cycle Process(); // Then use PACKET_TIMEOUT for next cycles - SetPackedTimeOut(PACKET_TIMEOUT); + SetPacketTimeOut(PACKET_TIMEOUT); } int Process() diff --git a/common/JackNetInterface.h b/common/JackNetInterface.h index 5674cfa4..6c3693eb 100644 --- a/common/JackNetInterface.h +++ b/common/JackNetInterface.h @@ -113,7 +113,7 @@ namespace Jack int FinishRecv(NetAudioBuffer* buffer); void SetRcvTimeOut(); - void SetPackedTimeOut(int time_out) + void SetPacketTimeOut(int time_out) { // New time out fPacketTimeOut = time_out;