including light effects from different project
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* @file WaveForm.h
|
||||
* @author Gustice
|
||||
* @brief C++ encapsulated waveform definition
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Waveforms.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
namespace Effect {
|
||||
|
||||
/**
|
||||
* @brief Waveform definition based on c-definitions
|
||||
*/
|
||||
struct WaveForm_t {
|
||||
/// @brief Reference to waveform
|
||||
const uint8_t *const pWave;
|
||||
/// @brief Length of waveform
|
||||
const unsigned Length;
|
||||
};
|
||||
|
||||
/// @brief Empty waveform with defined pointer to meaningless data to avoid problems
|
||||
extern const WaveForm_t EmptyWave;
|
||||
|
||||
} // namespace Effect
|
||||
Reference in New Issue
Block a user