Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/*****************************************************************************
AudioIn.hpp
Copyright (c) 2020 Raphael DINGE
*Tab=3***********************************************************************/
#pragma once
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
namespace erb
{
/*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/*
==============================================================================
Name : ctor
==============================================================================
*/
AudioIn::AudioIn (const Buffer & buffer)
: impl_data (buffer)
{
}
/*
==============================================================================
Name : operator const Buffer &
==============================================================================
*/
AudioIn::operator const Buffer & () const
{
return impl_data;
}
/*
==============================================================================
Name : size
==============================================================================
*/
std::size_t AudioIn::size () const
{
return impl_data.size ();
}
/*
==============================================================================
Name : operator []
==============================================================================
*/
const float & AudioIn::operator [] (std::size_t index) const
{
return impl_data [index];
}
/*\\\ PROTECTED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/*\\\ PRIVATE \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
} // namespace erb
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
1c962d8cfThis file is pinned to the selected release. Download the original to open it in your design tool.