Audacity 3.2.0
AnalyzedWaveClip.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 AnalyzedWaveClip.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
13#include "MirTypes.h"
14#include <memory>
15
17
19{
20public:
22 std::shared_ptr<ClipMirAudioReader> reader,
23 std::optional<MIR::ProjectSyncInfo> syncInfo);
24
25 const std::optional<MIR::ProjectSyncInfo>& GetSyncInfo() const override;
26 void SetRawAudioTempo(double tempo) override;
27 void Synchronize() override;
28
29private:
30 const std::shared_ptr<ClipMirAudioReader> mReader;
31 const std::optional<MIR::ProjectSyncInfo> mSyncInfo;
32};
AnalyzedWaveClip(std::shared_ptr< ClipMirAudioReader > reader, std::optional< MIR::ProjectSyncInfo > syncInfo)
void Synchronize() override
const std::optional< MIR::ProjectSyncInfo > & GetSyncInfo() const override
const std::shared_ptr< ClipMirAudioReader > mReader
const std::optional< MIR::ProjectSyncInfo > mSyncInfo
void SetRawAudioTempo(double tempo) override