- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# AudioOutputInterface40 Class Reference

Search for all occurrences

## Detailed Description

Definition at line 49 of file audiooutputinterface.h.

`#include <audiooutputinterface.h>`

Inheritance diagram for AudioOutputInterface40:
[legend]

List of all members.

## Public Member Functions
virtual | ~AudioOutputInterface40 ()
virtual qreal | volume () const =0
| Returns the current software volume.
virtual void | setVolume (qreal)=0
| Sets the new current software volume.
virtual int | outputDevice () const =0
| Returns the index of the device that is used.
virtual bool | setOutputDevice (int)=0

## Constructor & Destructor Documentation

virtual ~AudioOutputInterface40 | ( |  | ) | `[inline, virtual]`

Definition at line 52 of file audiooutputinterface.h.

    {}

## Member Function Documentation

virtual qreal volume | ( |  | ) | const `[pure virtual]`

Search for all occurrences

Returns the current software volume.

A value of 0.0 means muted, 1.0 means unchanged, 2.0 means double voltage (i.e. all samples are multiplied by 2).

virtual void setVolume | ( | qreal |  | ) | `[pure virtual]`

Search for all occurrences

Sets the new current software volume.

A value of 0.0 means muted, 1.0 means unchanged, 2.0 means double voltage (i.e. all samples are multiplied by 2).

Every time the volume in the backend changes it should emit volumeChanged(qreal), also inside this function.

virtual int outputDevice | ( |  | ) | const `[pure virtual]`

Search for all occurrences

Returns the index of the device that is used.

The index is the number returned from BackendInterface::objectDescriptionIndexes(AudioOutputDeviceType).

virtual bool setOutputDevice | ( | int |  | ) | `[pure virtual]`

Search for all occurrences

Deprecated:

Requests to change the current output device to the one identified by the passed index.

The index is the number returned from BackendInterface::objectDescriptionIndexes(AudioOutputDeviceType).

Returns:
  `true` if the requested device works and is used after this call.
  `false` if something failed and the device is not used after this call.

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

- phonon/audiooutputinterface.h

AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40
AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40 AudioOutputInterface40