SAL
A C++ library for spatial audio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
sal::GainMic Class Reference

#include <monomics.h>

Inheritance diagram for sal::GainMic:
sal::MemorylessMonoMic sal::MemorylessMic sal::MonoMic sal::Microphone sal::Microphone sal::OmniMic

Public Member Functions

 GainMic (mcl::Point position, Sample gain)
 
virtual bool IsOmni () const noexcept
 
virtual ~GainMic ()
 
- Public Member Functions inherited from sal::MemorylessMonoMic
 MemorylessMonoMic (mcl::Point position, mcl::Quaternion orientation)
 
virtual ~MemorylessMonoMic ()
 
virtual void AddPlaneWaveRelative (const Sample *input_data, const Int num_samples, const mcl::Point &point, const Int, Buffer &output_buffer) noexcept
 
- Public Member Functions inherited from sal::MemorylessMic
 MemorylessMic (mcl::Point position, mcl::Quaternion orientation)
 
virtual ~MemorylessMic ()
 
- Public Member Functions inherited from sal::Microphone
 Microphone (mcl::Point position, mcl::Quaternion orientation=mcl::Quaternion::Identity())
 
mcl::Point position () const noexcept
 
virtual void SetPosition (const mcl::Point &position) noexcept
 
mcl::Quaternion orientation () const noexcept
 
virtual void SetOrientation (const mcl::Quaternion &orientation) noexcept
 
void SetHandedness (const mcl::Handedness handedness) noexcept
 
void AddPlaneWave (const MonoBuffer &signal, const mcl::Point &point, Buffer &output_buffer) noexcept
 
void AddPlaneWave (const Sample *input_data, const Int num_samples, const mcl::Point &point, Buffer &output_buffer) noexcept
 
void AddPlaneWave (const Sample input_sample, const mcl::Point &point, Buffer &output_buffer) noexcept
 
void AddPlaneWave (const MonoBuffer &input_buffer, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 
void AddPlaneWave (const Sample input_sample, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 
virtual void AddPlaneWave (const Sample *input_data, const Int num_samples, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 
mcl::Point GetRelativePoint (const mcl::Point &point) const noexcept
 
virtual void Reset () noexcept
 
virtual ~Microphone ()
 
virtual void AddPlaneWaveRelative (const MonoBuffer &signal, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 
- Public Member Functions inherited from sal::MonoMic
 MonoMic (mcl::Point position, mcl::Quaternion orientation)
 
Sample RecordPlaneWave (const Sample input_sample, const mcl::Point &point, const Int &wave_id=0) noexcept
 
bool IsCoincident () const noexcept
 
Int num_channels () const noexcept
 
virtual ~MonoMic ()
 

Additional Inherited Members

- Static Public Member Functions inherited from sal::Microphone
static bool Test ()
 
- Protected Attributes inherited from sal::Microphone
mcl::Handedness handedness_
 

Constructor & Destructor Documentation

sal::GainMic::GainMic ( mcl::Point  position,
Sample  gain 
)
inline
virtual sal::GainMic::~GainMic ( )
inlinevirtual

Member Function Documentation

virtual bool sal::GainMic::IsOmni ( ) const
inlinevirtualnoexcept

Reimplemented from sal::Microphone.


The documentation for this class was generated from the following file: