Jump to content

Phonon/Handbook

From KDE UserBase Wiki

Phonon is a multimedia, multi-platform sound framework for the application developer. This short guide aims to document the various options available in the System Settings. Out of the box, the default settings should be suitable for most users, however there are configuration available for users who have particular hardware or multiple pieces of multimedia equipment.

Revision 0.1

Refers to Phonon Configuration Module 4.11.2

Access the settings

The Phonon Configuration Module can be accessed through System Settings -> Multimedia ->Audio and Video Settings.

It is divided into 3 tabs, Device Preference, Audio Hardware Setup and Backend. Settings need to be applied before they take effect.

Device Preference

Device preference allows you to set a sequential list of audio devices which will be tried in sequence. The first device in the list for a particular category of audio or video event will be attempted, and if that device is not available, the next device will be attempted, etc.

The Prefer and Deny buttons can be used to order the items, as well as simply dragging and dropping the list. You can use the Apply Device List To button to copy preferences to other categories.

You can also test audio and video devices with the Test button when a device on the right is selected. Note that the test button is a toggle.

Audio Hardware Setup

In this tab, you can modify the profiles for sound cards and control the connector that is used for sound devices, as well as view the input levels in real time. You can change the input and output formats, such as analog or digital, surround or stereo. It is also possible to disable the device entirely by setting the profile to Off.

The connector should default to speakers and automatically change to headphones if it is plugged in. However, you may adjust it to play through the speakers with headphones plugged in.

When a playback device is selected, the speaker placement and testing module is a group of buttons to help you place multiple speakers in the appropriate positions. Pressing a button will emit a sound clip from the specified speaker.

When a recording device is selected, the input level is shown in real time. The levels cannot be set through this panel, and instead can be set through the KDE Mixer.

Backends

You can control which backends are used by Phonon. Available backends supported by Phonon will show up in the list. Phonon will attempt to use the first backend in the list, and if that fails, continue down the list until one is working. The first backend is generally what is used. One of the purposes of Phonon is that the developer does not have to manage which backend is selected.

Alternate backends need to be installed by the user to show up, and a restart of System Settings is needed. Additional configuration options are available for certain backends, which will show up in the bottom panel once you have it selected.