|
RTP Audio System
2.0.0
|
#include <rtpa-qclient.h>
Public Slots | |
| void | play () |
| void | stop () |
| void | information () |
| void | whatsThis () |
| void | pause (bool on) |
| void | togglePause () |
| void | toggleAddressResolution (bool selected) |
| void | spectrumAnalyzer () |
| void | audioMixer () |
| void | closeSpectrumAnalyzer () |
| void | closeAudioMixer () |
| void | quit () |
| void | position (int value) |
| void | setSamplingRate (int index) |
| void | setChannels (bool stereo) |
| void | setBits (int index) |
| void | setEncoding (int index) |
| void | locationSelected (QAction *action) |
| void | loadBookmarks () |
| void | clearBookmarks () |
| void | saveBookmarks () |
| void | timerEvent () |
Public Member Functions | |
| QClient (AudioWriterInterface *audioOutput, const char *receiverName=NULL, const char *defaultURL=NULL, SpectrumAnalyzer *analyzer=NULL, AudioMixer *mixer=NULL, QWidget *parent=NULL) | |
| ~QClient () | |
Private Member Functions | |
| void | updateCounter (card64 position) |
| void | insertURL (const String &urlToInsert, const int where=0) |
| void | showError (const cardinal error) |
| QString | bytesToQString (const card64 bytes) const |
| QString | card64ToQString (const card64 value, const char *formatString="%Ld") const |
| QString | doubleToQString (const double value, const char *formatString="%f") const |
| QString | flowInfoToQString (const card8 trafficClass, const card32 flowLabel) const |
Private Attributes | |
| QAction * | ResolverAction |
| QAction * | MixerAction |
| QAction * | SpectrumAnalyzerAction |
| QAction * | AutoRepeatAction |
| QAction * | AutoSaveBookmarksAction |
| QAction * | LocationAction [LocationCount] |
| QSpectrumAnalyzer * | SpectrumAnalyzerWindow |
| QAudioMixer * | MixerWindow |
| SpectrumAnalyzer * | SpectrumAnalyzerDevice |
| AudioMixer * | MixerDevice |
| QMenu * | ToolsMenu |
| QMenu * | URLMenu |
| QMenu * | SettingsMenu |
| QLineEdit * | Location |
| QLCDNumber * | Counter |
| QLabel * | TitleLabel |
| QLabel * | ArtistLabel |
| QLabel * | CommentLabel |
| QLabel * | StatusBar |
| QInfoTabWidget * | InfoWidget |
| QInfoWidget * | LayerInfo [MaxLayerInfo] |
| QScrollBar * | ScrollBar |
| bool | ScrollBarUpdated |
| cardinal | ScrollBarUpdateDelay |
| cardinal | EOFRepeatDelay |
| QPushButton * | Pause |
| QWhatsThis * | WhatsThis |
| AudioClient * | Client |
| QList< String * > | URLList |
| String | PlayingURL |
| bool | InsertionRequired |
Static Private Attributes | |
| static const cardinal | LocationCount = 15 |
| static const cardinal | DisplayUpdateInterval = 250 |
| static const cardinal | EOFRepeatInterval = 20000 / DisplayUpdateInterval |
| static const cardinal | MaxScrollBarUpdateDelay = 4 |
| static const cardinal | MaxLayerInfo = 3 |
| QClient::QClient | ( | AudioWriterInterface * | audioOutput, |
| const char * | receiverName = NULL, |
||
| const char * | defaultURL = NULL, |
||
| SpectrumAnalyzer * | analyzer = NULL, |
||
| AudioMixer * | mixer = NULL, |
||
| QWidget * | parent = NULL |
||
| ) |
Constructor for new QClient.
| audioOutput | AudioWriter. |
| receiverName | Receiver name (e.g. ipv6-gaffel:1234); default NULL. |
| defaultUTL | Default URL (e.g. rtpa://gaffel:7500/Test.list); default NULL. |
| analyzer | SpectrumAnalyzer object; default NULL. |
| mixer | AudioMixer object; default NULL. |
| parent | Parent QWidget; default NULL. |
Destructor.
| void QClient::audioMixer | ( | ) | [slot] |
Slot for "Audio Mixer" menu item.
| QString QClient::bytesToQString | ( | const card64 | bytes | ) | const [private] |
| QString QClient::card64ToQString | ( | const card64 | value, |
| const char * | formatString = "%Ld" |
||
| ) | const [private] |
| void QClient::clearBookmarks | ( | ) | [slot] |
Slot for removing all bookmarks.
| void QClient::closeAudioMixer | ( | ) | [slot] |
Slot for close button of QAudioMixer.
| void QClient::closeSpectrumAnalyzer | ( | ) | [slot] |
Slot for close button of QSpectrumAnalyzer.
| QString QClient::doubleToQString | ( | const double | value, |
| const char * | formatString = "%f" |
||
| ) | const [private] |
| QString QClient::flowInfoToQString | ( | const card8 | trafficClass, |
| const card32 | flowLabel | ||
| ) | const [private] |
| void QClient::information | ( | ) | [slot] |
Slot for "Information" button.
| void QClient::insertURL | ( | const String & | urlToInsert, |
| const int | where = 0 |
||
| ) | [private] |
| void QClient::loadBookmarks | ( | ) | [slot] |
Slot for loading bookmarks.
| void QClient::locationSelected | ( | QAction * | action | ) | [slot] |
Slot for location menu item.
| void QClient::pause | ( | bool | on | ) | [slot] |
Slot for "Pause" button.
| void QClient::play | ( | ) | [slot] |
Slot for "Play" button.
| void QClient::position | ( | int | value | ) | [slot] |
Slot for position scrollbar.
| void QClient::quit | ( | ) | [slot] |
Slot for "Quit" menu item.
| void QClient::saveBookmarks | ( | ) | [slot] |
Slot for saving bookmarks.
| void QClient::setBits | ( | int | index | ) | [slot] |
Slot for "Bits" combobox.
| void QClient::setChannels | ( | bool | stereo | ) | [slot] |
Slot for "Stereo" checkbox.
| void QClient::setEncoding | ( | int | index | ) | [slot] |
Slot for "Encoding" combobox.
| void QClient::setSamplingRate | ( | int | index | ) | [slot] |
Slot for sampling rate combobox.
| void QClient::showError | ( | const cardinal | error | ) | [private] |
| void QClient::spectrumAnalyzer | ( | ) | [slot] |
Slot for "Spectrum Analyzer" menu item.
| void QClient::stop | ( | ) | [slot] |
Slot for "Stop" button.
| void QClient::timerEvent | ( | ) | [slot] |
Slot for QTimer.
| void QClient::toggleAddressResolution | ( | bool | selected | ) | [slot] |
Slot for "Resolve Addresses" menu item.
| void QClient::togglePause | ( | ) | [slot] |
Slot for "Toggle Pause" menu item.
| void QClient::updateCounter | ( | card64 | position | ) | [private] |
| void QClient::whatsThis | ( | ) | [slot] |
Slot for What's This mode.
QLabel* QClient::ArtistLabel [private] |
QAction* QClient::AutoRepeatAction [private] |
QAction* QClient::AutoSaveBookmarksAction [private] |
AudioClient* QClient::Client [private] |
QLabel* QClient::CommentLabel [private] |
QLCDNumber* QClient::Counter [private] |
const cardinal QClient::DisplayUpdateInterval = 250 [static, private] |
cardinal QClient::EOFRepeatDelay [private] |
const cardinal QClient::EOFRepeatInterval = 20000 / DisplayUpdateInterval [static, private] |
QInfoTabWidget* QClient::InfoWidget [private] |
bool QClient::InsertionRequired [private] |
QInfoWidget* QClient::LayerInfo[MaxLayerInfo] [private] |
QLineEdit* QClient::Location [private] |
QAction* QClient::LocationAction[LocationCount] [private] |
const cardinal QClient::LocationCount = 15 [static, private] |
const cardinal QClient::MaxLayerInfo = 3 [static, private] |
const cardinal QClient::MaxScrollBarUpdateDelay = 4 [static, private] |
QAction* QClient::MixerAction [private] |
AudioMixer* QClient::MixerDevice [private] |
QAudioMixer* QClient::MixerWindow [private] |
QPushButton* QClient::Pause [private] |
String QClient::PlayingURL [private] |
QAction* QClient::ResolverAction [private] |
QScrollBar* QClient::ScrollBar [private] |
bool QClient::ScrollBarUpdated [private] |
cardinal QClient::ScrollBarUpdateDelay [private] |
QMenu* QClient::SettingsMenu [private] |
QAction* QClient::SpectrumAnalyzerAction [private] |
SpectrumAnalyzer* QClient::SpectrumAnalyzerDevice [private] |
QSpectrumAnalyzer* QClient::SpectrumAnalyzerWindow [private] |
QLabel* QClient::StatusBar [private] |
QLabel* QClient::TitleLabel [private] |
QMenu* QClient::ToolsMenu [private] |
QList<String*> QClient::URLList [private] |
QMenu* QClient::URLMenu [private] |
QWhatsThis* QClient::WhatsThis [private] |