Loading files
/*****************************************************************************
fnc.h
Copyright (c) 2020 Raphael DINGE
*Tab=3***********************************************************************/
#pragma once
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
#include "erb/Buffer.h"
#include <cstddef>
#include <cstdint>
namespace erb
{
inline void * allocate_bytes_auto (std::size_t size);
template <std::size_t NbrChannels>
void scale (std::array <Buffer, NbrChannels> & out, float * const * in, float gain);
template <std::size_t NbrChannels>
void scale (float ** out, const std::array <Buffer, NbrChannels> & in, float gain);
inline void scale (Buffer & out, const float * in, float gain);
inline void scale (float * out, const Buffer & in, float gain);
inline uint16_t norm_to_u12 (float norm_val);
inline uint16_t norm_to_u16 (float norm_val);
inline float to_float_norm (uint16_t val);
} // namespace erb
#include "erb/detail/fnc.hpp"
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
1c962d8cfThis file is pinned to the selected release. Download the original to open it in your design tool.