16 lines
366 B
C++
16 lines
366 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace borla {
|
|
|
|
// Narrow read-only view the protocol layer uses for the periodic status frame.
|
|
// Keeps RealtimeProtocol from depending on the whole audio engine.
|
|
class IVolumeStatusProvider {
|
|
public:
|
|
virtual ~IVolumeStatusProvider() = default;
|
|
virtual uint8_t OutputVolumePercent() const = 0;
|
|
};
|
|
|
|
} // namespace borla
|