KDE::Multimedia::Channel Class Reference
Abstraction of different inputs or outputs. More...
#include <channel.h>
Inheritance diagram for KDE::Multimedia::Channel:


Public Types | |
| enum | Direction { Input, Output } |
Public Member Functions | |
| virtual | ~Channel () |
| virtual QString | channelName () const |
| virtual QString | channelType () const |
| virtual Direction | direction () const |
| virtual bool | hasVolumeControl () const =0 |
| virtual float | volume () const =0 |
| virtual bool | setVolume (float volume)=0 |
Protected Member Functions | |
| Channel (const QString &name, const QString &type, Direction direction, QObject *parent=0, const char *name=0) | |
Detailed Description
Abstraction of different inputs or outputs.
- Author:
- Matthias Kretz <kretz@kde.org>
- Since:
- 4.0
Definition at line 37 of file channel.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||
|
You can not instantiate channels yourself, use the Factory to create them.
Definition at line 37 of file channel.cpp. |
Member Function Documentation
|
|
The user visible name of the channel.
Implements MixerIface. Definition at line 52 of file channel.cpp. |
|
|
The (internal) channel type.
Implements MixerIface. Definition at line 57 of file channel.cpp. |
|
|
Whether it is an Input or Output channel.
Definition at line 62 of file channel.cpp. |
|
|
If the channel has a volume control this function returns
Implements MixerIface. |
|
|
The current volume of the channel.
Implements MixerIface. |
|
|
Set the volume for the channel.
Implements MixerIface. |
The documentation for this class was generated from the following files:
