MCPcopy Create free account
hub / github.com/audacity/audacity / Sync

Function Sync

libraries/lib-wx-init/Journal.cpp:321–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321void Sync( const wxString &string )
322{
323 if ( IsRecording() || IsReplaying() ) {
324 if ( IsRecording() )
325 Output( string );
326 if ( IsReplaying() ) {
327 if (sFileIn.Eof() || sLine != string)
328 {
329 throw SyncException(wxString::Format(
330 "sync failed. Expected '%s', got '%s'",
331 string.ToStdString().c_str(), sLine.ToStdString().c_str()));
332 }
333
334 NextIn();
335 }
336 }
337}
338
339void Sync( const wxArrayString &strings )
340{

Callers 2

SyncCloudSnapshotMethod · 0.85
IfNotPlayingFunction · 0.85

Calls 7

IsRecordingFunction · 0.85
IsReplayingFunction · 0.85
OutputFunction · 0.85
NextInFunction · 0.85
EofMethod · 0.80
wxArrayStringExClass · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected