#include <PlayBackTypesMap.h>
Definition at line 29 of file PlayBackTypesMap.h.
◆ PlayBackTypesMap()
Kwave::PlayBackTypesMap::PlayBackTypesMap |
( |
| ) |
|
|
inlineexplicit |
◆ ~PlayBackTypesMap()
virtual Kwave::PlayBackTypesMap::~PlayBackTypesMap |
( |
| ) |
|
|
inlinevirtual |
◆ fill()
void Kwave::PlayBackTypesMap::fill |
( |
| ) |
|
|
virtual |
fill function for the map
Implements Kwave::TypesMap< unsigned int, Kwave::playback_method_t >.
Definition at line 28 of file PlayBackTypesMap.cpp.
References _, Kwave::TypesMap< unsigned int, Kwave::playback_method_t >::append(), Kwave::PLAYBACK_ALSA, Kwave::PLAYBACK_OSS, Kwave::PLAYBACK_PULSEAUDIO, and Kwave::PLAYBACK_QT_AUDIO.
30 unsigned int index = 0;
32 #ifdef HAVE_ALSA_SUPPORT 34 _(I18N_NOOP(
"ALSA (Advanced Linux Sound Architecture)")) );
37 #ifdef HAVE_OSS_SUPPORT 39 _(I18N_NOOP(
"OSS (Open Sound System)")) );
42 #ifdef HAVE_PULSEAUDIO_SUPPORT 44 _(I18N_NOOP(
"Pulse Audio")) );
47 #ifdef HAVE_QT_AUDIO_SUPPORT 49 _(I18N_NOOP(
"Qt Multimedia Audio")) );
52 if (!index) qWarning(
"no playback method defined!");
virtual void append(unsigned int index, Kwave::playback_method_t data, const QString &name, const QString &description)
The documentation for this class was generated from the following files: