Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/*****************************************************************************
AudioIn.cpp
Copyright (c) 2020 Raphael DINGE
*Tab=3***********************************************************************/
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
#include "erb/AudioIn.h"
namespace erb
{
/*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/*
==============================================================================
Name : size
==============================================================================
*/
AudioIn::operator Buffer () const
{
return *_buffer_ptr;
}
/*
==============================================================================
Name : size
==============================================================================
*/
size_t AudioIn::size () const
{
return _buffer_ptr->size ();
}
/*
==============================================================================
Name : operator []
==============================================================================
*/
const float & AudioIn::operator [] (size_t index)
{
return (*_buffer_ptr) [index];
}
/*\\\ INTERNAL \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/*
==============================================================================
Name : impl_bind_data
==============================================================================
*/
void AudioIn::impl_bind_data (const Buffer & buffer)
{
_buffer_ptr = buffer_ptr;
}
/*\\\ PROTECTED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/*\\\ PRIVATE \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
} // namespace erb
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
8b8937c75This file is pinned to the selected release. Download the original to open it in your design tool.