Publish VCC Plus OSS source distribution for 3.6.2 build 60
This commit is contained in:
commit
c652a5276d
1192 files changed
+272368
No files matched your search
@@ -0,0 +1,21 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#pragma once
|
||||
#include "../../../src/core/AudioBuffer.h"
|
||||
#include <memory>
|
||||
namespace VCC::Mac {
|
||||
// All methods except the internal render callback belong to the machine queue.
|
||||
class MacAudioOutput {
|
||||
public:
|
||||
MacAudioOutput();
|
||||
~MacAudioOutput();
|
||||
void start(); // throws a user-visible error; never opens an input device
|
||||
void stop(); // stops callback before clearing queued samples
|
||||
bool running() const;
|
||||
std::uint64_t starts() const;
|
||||
bool needsRestart() const;
|
||||
AudioBuffer& buffer();
|
||||
private:
|
||||
struct Impl;
|
||||
std::unique_ptr<Impl> impl;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user