src/multimedia/audio/qaudioengine.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    84     virtual int periodSize() const = 0;
    84     virtual int periodSize() const = 0;
    85     virtual void setBufferSize(int value) = 0;
    85     virtual void setBufferSize(int value) = 0;
    86     virtual int bufferSize() const = 0;
    86     virtual int bufferSize() const = 0;
    87     virtual void setNotifyInterval(int milliSeconds) = 0;
    87     virtual void setNotifyInterval(int milliSeconds) = 0;
    88     virtual int notifyInterval() const = 0;
    88     virtual int notifyInterval() const = 0;
    89     virtual qint64 totalTime() const = 0;
    89     virtual qint64 processedUSecs() const = 0;
    90     virtual qint64 clock() const = 0;
    90     virtual qint64 elapsedUSecs() const = 0;
    91     virtual QAudio::Error error() const = 0;
    91     virtual QAudio::Error error() const = 0;
    92     virtual QAudio::State state() const = 0;
    92     virtual QAudio::State state() const = 0;
    93     virtual QAudioFormat format() const = 0;
    93     virtual QAudioFormat format() const = 0;
    94 
    94 
    95 Q_SIGNALS:
    95 Q_SIGNALS:
   111     virtual int periodSize() const = 0;
   111     virtual int periodSize() const = 0;
   112     virtual void setBufferSize(int value) = 0;
   112     virtual void setBufferSize(int value) = 0;
   113     virtual int bufferSize() const = 0;
   113     virtual int bufferSize() const = 0;
   114     virtual void setNotifyInterval(int milliSeconds) = 0;
   114     virtual void setNotifyInterval(int milliSeconds) = 0;
   115     virtual int notifyInterval() const = 0;
   115     virtual int notifyInterval() const = 0;
   116     virtual qint64 totalTime() const = 0;
   116     virtual qint64 processedUSecs() const = 0;
   117     virtual qint64 clock() const = 0;
   117     virtual qint64 elapsedUSecs() const = 0;
   118     virtual QAudio::Error error() const = 0;
   118     virtual QAudio::Error error() const = 0;
   119     virtual QAudio::State state() const = 0;
   119     virtual QAudio::State state() const = 0;
   120     virtual QAudioFormat format() const = 0;
   120     virtual QAudioFormat format() const = 0;
   121 
   121 
   122 Q_SIGNALS:
   122 Q_SIGNALS: