Classes | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Private Slots | Private Member Functions | Private Attributes | Static Private Attributes
AudioInfo Class Reference

#include <audioinput.h>

List of all members.

Classes

class  Level

Public Slots

void recstart ()
void recstop (bool bEnd=true)

Signals

void update ()
void validateRecButton (bool)

Public Member Functions

 AudioInfo (QObject *parent, QAudioInput *device, SoundServer *server)
bool epdEnabled () const
QList< LevelgetLevels ()
qint64 readData (char *data, qint64 maxlen)
void setEpdEnabled (bool bEnabled)
void start ()
void stop ()
qint64 writeData (const char *data, qint64 len)
 ~AudioInfo ()

Static Public Member Functions

static void setFileName (const QString &filename)

Private Slots

void epdDisconnected ()
void epdRead ()
void onClientConnected (const QHostAddress &addr)
void onCmd (const QString &cmd)

Private Member Functions

void processWave (const void *data, qint64 len)

Private Attributes

QAudioInput * input
bool m_bEpdEnabled
bool m_bEpdOn
bool m_bRec
QFile * m_file
QList< Levelm_levels
int m_sampleSize
SoundServerm_server

Static Private Attributes

static QString m_filename

Detailed Description

Definition at line 63 of file audioinput.h.


Constructor & Destructor Documentation

AudioInfo::AudioInfo ( QObject *  parent,
QAudioInput *  device,
SoundServer server 
)

Definition at line 67 of file audioinput.cpp.

Definition at line 85 of file audioinput.cpp.


Member Function Documentation

void AudioInfo::epdDisconnected ( ) [private, slot]

Definition at line 326 of file audioinput.cpp.

bool AudioInfo::epdEnabled ( ) const

Definition at line 96 of file audioinput.cpp.

void AudioInfo::epdRead ( ) [private, slot]

Definition at line 178 of file audioinput.cpp.

Definition at line 89 of file audioinput.cpp.

void AudioInfo::onClientConnected ( const QHostAddress &  addr) [private, slot]

Definition at line 312 of file audioinput.cpp.

void AudioInfo::onCmd ( const QString &  cmd) [private, slot]

Definition at line 270 of file audioinput.cpp.

void AudioInfo::processWave ( const void *  data,
qint64  len 
) [private]

Definition at line 145 of file audioinput.cpp.

qint64 AudioInfo::readData ( char *  data,
qint64  maxlen 
)

Definition at line 125 of file audioinput.cpp.

void AudioInfo::recstart ( ) [slot]

Definition at line 340 of file audioinput.cpp.

void AudioInfo::recstop ( bool  bEnd = true) [slot]

Definition at line 354 of file audioinput.cpp.

void AudioInfo::setEpdEnabled ( bool  bEnabled)

Definition at line 101 of file audioinput.cpp.

void AudioInfo::setFileName ( const QString &  filename) [static]

Definition at line 379 of file audioinput.cpp.

void AudioInfo::start ( )

Definition at line 114 of file audioinput.cpp.

void AudioInfo::stop ( )

Definition at line 119 of file audioinput.cpp.

void AudioInfo::update ( ) [signal]
void AudioInfo::validateRecButton ( bool  ) [signal]
qint64 AudioInfo::writeData ( const char *  data,
qint64  len 
)

Definition at line 133 of file audioinput.cpp.


Member Data Documentation

QAudioInput* AudioInfo::input [private]

Definition at line 99 of file audioinput.h.

bool AudioInfo::m_bEpdEnabled [private]

Definition at line 114 of file audioinput.h.

bool AudioInfo::m_bEpdOn [private]

Definition at line 113 of file audioinput.h.

bool AudioInfo::m_bRec [private]

Definition at line 112 of file audioinput.h.

QFile* AudioInfo::m_file [private]

Definition at line 116 of file audioinput.h.

QString AudioInfo::m_filename [static, private]

Definition at line 118 of file audioinput.h.

QList<Level> AudioInfo::m_levels [private]

Definition at line 115 of file audioinput.h.

int AudioInfo::m_sampleSize [private]

Definition at line 117 of file audioinput.h.

Definition at line 119 of file audioinput.h.


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


rospeex_audiomonitor
Author(s): Komei Sugiura
autogenerated on Thu Jun 6 2019 18:53:06