15#include <condition_variable>
60 public std::enable_shared_from_this<MixdownUploader>,
75 static std::shared_ptr<MixdownUploader> Upload(
82 std::future<MixdownResult> GetResultFuture();
106 std::atomic<double> mProgress {};
108 bool mProgressUpdateQueued {
false };
110 std::atomic<bool> mUploadCancelled {
false };
111 std::atomic<bool> mFinished {
false };
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Configuration for the audio.com.
const ServiceConfig & mServiceConfig
const AudacityProject & mProject
MixdownProgressCallback mProgressCallback
std::condition_variable mUploadUrlsSet
std::promise< MixdownResult > mPromise
std::mutex mUploadUrlsMutex
std::string mExportedFilePath
std::optional< UploadUrls > mUploadUrls
std::unique_ptr< DataExporter > mDataExporter
concurrency::CancellationContextPtr mCancellationContext
void UploadMixdown(AudacityProject &project, std::function< void(AudacityProject &, MixdownState)> onComplete)
std::function< void(double progress)> MixdownProgressCallback
std::shared_ptr< CancellationContext > CancellationContextPtr
ResponseResult UploadResult