The PySide.QtMultimedia.QAbstractAudioInput class provides access for PySide.QtMultimedia.QAudioInput to access the audio device provided by the plugin.
QAudioDeviceInput keeps an instance of PySide.QtMultimedia.QAbstractAudioInput and routes calls to functions of the same name to PySide.QtMultimedia.QAbstractAudioInput . This means that it is PySide.QtMultimedia.QAbstractAudioInput that implements the audio functionality. For a description of the functionality, see the PySide.QtMultimedia.QAudioInput class description.
See also
Return type: | PySide.QtCore.int |
---|
Returns the audio buffer size in milliseconds.
Return type: | PySide.QtCore.int |
---|
Returns the amount of audio data available to read in bytes.
Return type: | PySide.QtCore.qint64 |
---|
Returns the milliseconds since PySide.QtMultimedia.QAbstractAudioInput.start() was called, including time in Idle and suspend states.
Return type: | PySide.QtMultimedia.QAudio.Error |
---|
Returns the error state.
Return type: | PySide.QtMultimedia.QAudioFormat |
---|
Returns the PySide.QtMultimedia.QAudioFormat being used
Return type: | PySide.QtCore.int |
---|
Returns the notify interval in milliseconds.
Return type: | PySide.QtCore.int |
---|
Returns the period size in bytes.
Return type: | PySide.QtCore.qint64 |
---|
Returns the amount of audio data processed since PySide.QtMultimedia.QAbstractAudioInput.start() was called in milliseconds.
Drops all audio data in the buffers, resets buffers to zero.
Resumes processing audio data after a PySide.QtMultimedia.QAbstractAudioInput.suspend() .
Parameters: | value – PySide.QtCore.int |
---|
Sets the audio buffer size to value in milliseconds.
Parameters: | milliSeconds – PySide.QtCore.int |
---|
Sets the interval for PySide.QtMultimedia.QAbstractAudioInput.notify() signal to be emitted. This is based on the ms of audio data processed not on actual real-time. The resolution of the timer is platform specific.
Parameters: | device – PySide.QtCore.QIODevice |
---|---|
Return type: | PySide.QtCore.QIODevice |
Uses the device as the PySide.QtCore.QIODevice to transfer data. If device is null then the class creates an internal PySide.QtCore.QIODevice . Returns a pointer to the PySide.QtCore.QIODevice being used to handle the data transfer. This PySide.QtCore.QIODevice can be used to read() audio data directly. Passing a PySide.QtCore.QIODevice allows the data to be transferred without any extra code.
Return type: | PySide.QtMultimedia.QAudio.State |
---|
Returns the state of audio processing.
Parameters: | arg__1 – PySide.QtMultimedia.QAudio.State |
---|
Stops the audio input.
Stops processing audio data, preserving buffered audio data.