#include <audioinput.h>
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< Level > | getLevels () |
| 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< Level > | m_levels |
| int | m_sampleSize |
| SoundServer * | m_server |
Static Private Attributes | |
| static QString | m_filename |
Definition at line 63 of file audioinput.h.
| AudioInfo::AudioInfo | ( | QObject * | parent, |
| QAudioInput * | device, | ||
| SoundServer * | server | ||
| ) |
Definition at line 67 of file audioinput.cpp.
Definition at line 85 of file audioinput.cpp.
| 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.
| QList< AudioInfo::Level > AudioInfo::getLevels | ( | ) |
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.
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.
SoundServer* AudioInfo::m_server [private] |
Definition at line 119 of file audioinput.h.