• PySide 模块
  • PySide.phonon
  • 内容表

    上一话题

    Phonon

    下一话题

    Phonon.VolumeFaderInterface

    Phonon.BackendCapabilities

    详细描述

    BackendCapabilities namespace contains functions to describe the capabilities of the multimedia backend.
    static PySide.phonon.Phonon.BackendCapabilities. availableAudioCaptureDevices ( )
    返回类型:
    static PySide.phonon.Phonon.BackendCapabilities. availableAudioEffects ( )
    返回类型:

    Returns descriptions for the audio effects the backend supports.

    Returns A list of AudioEffectDescription objects that give a name and description for every supported audio effect.

    static PySide.phonon.Phonon.BackendCapabilities. availableAudioOutputDevices ( )
    返回类型:

    Returns the audio output devices the backend supports.

    Returns A list of AudioOutputDevice objects that give a name and description for every supported audio output device.

    static PySide.phonon.Phonon.BackendCapabilities. availableMimeTypes ( )
    返回类型: 字符串列表

    Returns a list of mime types that the Backend can decode.

    另请参阅

    PySide.phonon.Phonon::BackendCapabilities.isMimeTypeAvailable()

    static PySide.phonon.Phonon.BackendCapabilities. isMimeTypeAvailable ( mimeType )
    参数: mimeType – unicode
    返回类型: PySide.QtCore.bool

    Often all you want to know is whether one given MIME type can be decoded by the backend. Use this method in favor of PySide.phonon.Phonon::BackendCapabilities.availableMimeTypes() as it can give you a negative answer without having a backend loaded.

    Returns true if the given mimeType is supported by the backend; otherwise, returns false.

    另请参阅

    PySide.phonon.Phonon::BackendCapabilities.availableMimeTypes()

    static PySide.phonon.Phonon.BackendCapabilities. notifier ( )
    返回类型: PySide.phonon.Notifier

    Use this function to get a PySide.QtCore.QObject pointer to connect to the capabilitiesChanged signal.

    返回指针指向 PySide.QtCore.QObject .

    The capabilitiesChanged signal is emitted if the capabilities have changed. This can happen if the user has requested a backend change.

    To connect to this signal do the following:

    <Code snippet "doc/src/snippets/code/doc_src_phonon-api.cpp:16" not found>
    										

    另请参阅

    Notifier.capabilitiesChanged()