1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

Rewrite comments about exception safety guarantees with Doxygen...

... Defining a new macro, which generates a special paragraph with links to a
new page describing the principles.
This commit is contained in:
Paul Licameli
2020-08-22 15:33:03 -04:00
parent 0e10a27172
commit 372393f49e
12 changed files with 253 additions and 116 deletions

View File

@@ -2365,8 +2365,8 @@ void AudioIO::StopStream()
GuardedCall( [&] {
WaveTrack* track = mCaptureTracks[i].get();
// use NOFAIL-GUARANTEE that track is flushed,
// PARTIAL-GUARANTEE that some initial length of the recording
// use No-fail-guarantee that track is flushed,
// Partial-guarantee that some initial length of the recording
// is saved.
// See comments in FillBuffers().
track->Flush();