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

    上一话题

    PySide.QtMultimedia

    下一话题

    QAudioDeviceInfo

    QAudio

    详细描述

    QAudio namespace contains enums used by the audio classes.
    PySide.QtMultimedia.QAudio. 模式
    常量 描述
    QAudio.AudioOutput 音频输出设备
    QAudio.AudioInput 音频输入设备
    PySide.QtMultimedia.QAudio. Error
    常量 描述
    QAudio.NoError No errors have occurred
    QAudio.OpenError An error opening the audio device
    QAudio.IOError An error occurred during read/write of audio device
    QAudio.UnderrunError Audio data is not being fed to the audio device at a fast enough rate
    QAudio.FatalError A non-recoverable error has occurred, the audio device is not usable at this time.
    PySide.QtMultimedia.QAudio. State
    常量 描述
    QAudio.ActiveState Audio data is being processed, this state is set after start() is called and while audio data is available to be processed.
    QAudio.SuspendedState The audio device is in a suspended state, this state will only be entered after suspend() is called.
    QAudio.StoppedState The audio device is closed, not processing any audio data
    QAudio.IdleState PySide.QtCore.QIODevice passed in has no data and audio system's buffer is empty, this state is set after start() is called and while no audio data is available to be processed.