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

#include <pawrapper.h>

Public Member Functions

 PaWrapper (Time sampling_frequency, Int out_dev_num, std::vector< Int > channel_ids)
PaError StartStream ()
PaError WriteStream (const Buffer &output_buffer)
PaError StopStream ()
Int max_num_channels ()
 ~PaWrapper ()

Static Public Member Functions

static void PrintError (PaError err)
static void PrintDevicesInfo ()
static Int NumOutputChannels (const Int out_dev_id)
static std::vector< mcl::Int > SelectChannelIds (const Int num_loudspeakers, const Int out_dev_id)

Detailed Description

A wrapper for portaudio

Constructor & Destructor Documentation

sal::PaWrapper::PaWrapper ( Time  sampling_frequency,
Int  out_dev_num,
std::vector< Int channel_ids 
sal::PaWrapper::~PaWrapper ( )

Member Function Documentation

Int sal::PaWrapper::max_num_channels ( )
Int sal::PaWrapper::NumOutputChannels ( const Int  out_dev_id)
void sal::PaWrapper::PrintDevicesInfo ( )
void sal::PaWrapper::PrintError ( PaError  err)
std::vector< mcl::Int > sal::PaWrapper::SelectChannelIds ( const Int  num_loudspeakers,
const Int  out_dev_id 
PaError sal::PaWrapper::StartStream ( )
PaError sal::PaWrapper::StopStream ( )
PaError sal::PaWrapper::WriteStream ( const Buffer output_buffer)

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