All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
mybeat::SoundBuffer Class Reference

#include <soundbuffer.h>

List of all members.

Public Member Functions

int16_t average ()
uint16_t average_pwr ()
double max_pwr ()
double pwr ()
int16_t read (uint16_t pos)
 SoundBuffer (uint16_t m_size=0)
bool write (uint16_t pos, int16_t value)

Private Attributes

int32_t m_average
int32_t m_averagePwr
std::vector< int16_t > m_Buffer
double m_maxPwr
bool m_newDataReady
int32_t m_pwr
uint16_t m_size

Detailed Description

Definition at line 63 of file soundbuffer.h.


Constructor & Destructor Documentation

mybeat::SoundBuffer::SoundBuffer ( uint16_t  m_size = 0)

Definition at line 61 of file soundbuffer.cpp.


Member Function Documentation

Definition at line 68 of file soundbuffer.cpp.

Definition at line 97 of file soundbuffer.cpp.

Definition at line 91 of file soundbuffer.cpp.

Definition at line 79 of file soundbuffer.cpp.

int16_t mybeat::SoundBuffer::read ( uint16_t  pos)

Definition at line 120 of file soundbuffer.cpp.

bool mybeat::SoundBuffer::write ( uint16_t  pos,
int16_t  value 
)

Definition at line 110 of file soundbuffer.cpp.


Member Data Documentation

int32_t mybeat::SoundBuffer::m_average [private]

Definition at line 88 of file soundbuffer.h.

Definition at line 87 of file soundbuffer.h.

std::vector<int16_t> mybeat::SoundBuffer::m_Buffer [private]

Definition at line 84 of file soundbuffer.h.

Definition at line 85 of file soundbuffer.h.

Definition at line 89 of file soundbuffer.h.

int32_t mybeat::SoundBuffer::m_pwr [private]

Definition at line 86 of file soundbuffer.h.

uint16_t mybeat::SoundBuffer::m_size [private]

Definition at line 83 of file soundbuffer.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


cob_lightmode
Author(s): Benjamin Maidel
autogenerated on Thu Jan 17 2013 13:39:37