class Solid.AudioInterface |
|
|
This device interface is available on interfaces exposed by sound cards. |
|
Creates a new AudioInterface object. You generally won't need this. It's created when necessary using Device.as().
backendObject - the device interface object provided by the backend See also Solid.Device.as() |
|
Get the Solid.DeviceInterface.Type of the AudioInterface device interface. Returns the AudioInterface device interface type See also Solid.DeviceInterface.Type |
|
Retrieves the type of this audio interface (in/out/control). Returns the type of this audio interface See also Solid.AudioInterface.AudioInterfaceTypes |
|
Retrieves the audio driver that should be used to access the device. Returns the driver needed to access the device See also Solid.AudioInterface.AudioDriver |
|
Retrieves a driver specific string allowing to access the device. For example for Alsa devices it is of the form "hw:0,0" while for OSS it is "/dev/foo". Returns the driver specific string to handle this device |
|
Retrieves the name of this audio interface. The product name of the parent device is normally better suited for the user to identify the soundcard. If the soundcard has multiple devices, though you need to add this name to differentiate between the devices. Returns the name of the audio interface if available, QString() otherwise |
|
Retrieves the type of soundcard (internal/headset/...). Returns the type of soundcard See also Solid.AudioInterface.SoundcardType |
Alsa | - | An Advanced Linux Sound Architecture (ALSA) driver device | |
OpenSoundSystem | - | An Open Sound System (OSS) driver device | |
UnknownAudioDriver | - | An unknown driver device |
UnknownAudioInterfaceType | - | An unknown audio interface | |
AudioControl | - | A control/mixer interface | |
AudioInput | - | An audio source | |
AudioOutput | - | An audio sink |
InternalSoundcard | - | An internal soundcard (onboard or PCI card). | |
UsbSoundcard | - | An external USB soundcard (that is not a headphone). | |
FirewireSoundcard | - | An external Firewire soundcard. | |
Headset | - | A headset attached to a USB port or connected via Bluetooth (the headset includes its own audio hardware; it is impossible to detect a headset connected to the internal soundcard). | |
Modem | - | A modem device. /p> p> Softmodems today are implemented as (cheap) soundcards. ALSA can provide an interface to the modem. |