Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/*****************************************************************************
AudioOut.h
Copyright (c) 2020 Raphael DINGE
*Tab=3***********************************************************************/
#pragma once
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
#include "erb/Buffer.h"
#include <cstddef>
namespace erb
{
class AudioOut
{
/*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
public:
static constexpr float ValueMin = -1.f;
static constexpr float ValueMax = 1.f;
inline AudioOut (Buffer & data);
virtual ~AudioOut () = default;
inline AudioOut &
operator = (const Buffer & buffer);
inline operator Buffer & ();
inline std::size_t
size () const;
inline float & operator [] (std::size_t index);
inline void fill (float val);
/*\\\ INTERNAL \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
Buffer & impl_data;
inline void impl_preprocess () {}
inline void impl_postprocess () {}
/*\\\ PROTECTED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
protected:
/*\\\ PRIVATE \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
private:
/*\\\ FORBIDDEN MEMBER FUNCTIONS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
private:
AudioOut () = delete;
AudioOut (const AudioOut & rhs) = delete;
AudioOut (AudioOut && rhs) = delete;
AudioOut & operator = (const AudioOut & rhs) = delete;
AudioOut & operator = (AudioOut && rhs) = delete;
bool operator == (const AudioOut & rhs) const = delete;
bool operator != (const AudioOut & rhs) const = delete;
}; // class AudioOut
} // namespace erb
#include "erb/AudioOut.hpp"
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
4b2b41491This file is pinned to the selected release. Download the original to open it in your design tool.