Project

General

Profile

Audio Scol plugin 1.0
Audio Scol plugin based on CAudio library
SAudioInput Class Reference

Public Member Functions

 SAudioInput (int device=-1, unsigned int frequency=22050, cAudio::AudioFormats format=cAudio::EAF_8BIT_MONO)
 
bool IsValid ()
 
bool GetState ()
 
void Start ()
 
void Stop ()
 
size_t GetBuffer (char *destBuffer, size_t length)
 
void SetResumeState (bool state)
 
bool GetResumeState ()
 

Detailed Description

Definition at line 185 of file audio.h.

Constructor & Destructor Documentation

◆ SAudioInput() [1/2]

SAudioInput::SAudioInput ( )

Definition at line 926 of file audio.cpp.

◆ SAudioInput() [2/2]

SAudioInput::SAudioInput ( int  device = -1,
unsigned int  frequency = 22050,
cAudio::AudioFormats  format = cAudio::EAF_8BIT_MONO 
)

Definition at line 934 of file audio.cpp.

◆ ~SAudioInput()

SAudioInput::~SAudioInput ( )

Definition at line 1000 of file audio.cpp.

Member Function Documentation

◆ GetBuffer()

size_t SAudioInput::GetBuffer ( char *  destBuffer,
size_t  length 
)

Definition at line 1056 of file audio.cpp.

◆ GetResumeState()

bool SAudioInput::GetResumeState ( )

Definition at line 1051 of file audio.cpp.

◆ GetState()

bool SAudioInput::GetState ( )

Definition at line 1041 of file audio.cpp.

◆ IsValid()

bool SAudioInput::IsValid ( )

Definition at line 1036 of file audio.cpp.

◆ SetResumeState()

void SAudioInput::SetResumeState ( bool  state)

Definition at line 1046 of file audio.cpp.

◆ Start()

void SAudioInput::Start ( )

Definition at line 1018 of file audio.cpp.

◆ Stop()

void SAudioInput::Stop ( )

Definition at line 1027 of file audio.cpp.


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