1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00

Abstract virtual AudioIOBase::StopStream...

... so that DeviceManager, DeviceToolbar, and PrefsDialog do not depend directly
on AudioIO.

But no function in the base class for starting streams, which would require
mention of Track types, which we want to avoid.
This commit is contained in:
Paul Licameli
2019-06-10 17:36:54 -04:00
parent 240402e56f
commit ccc49f8ccf
6 changed files with 14 additions and 8 deletions

View File

@@ -586,7 +586,7 @@ public:
* Does quite a bit of housekeeping, including switching off monitoring,
* flushing recording buffers out to wave tracks, and applies latency
* correction to recorded tracks if necessary */
void StopStream();
void StopStream() override;
/** \brief Move the playback / recording position of the current stream
* by the specified amount from where it is now */
void SeekStream(double seconds) { mSeek = seconds; }