Refactored AudioCapture plugin.
Change-Id: I025588d7d2afc8d8137a258d86f6dab5b00b234a Reviewed-by: Christian Stromme <christian.stromme@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
b49746b588
commit
c2f95891c0
@@ -49,9 +49,9 @@
|
||||
|
||||
#include <qaudioformat.h>
|
||||
|
||||
class AudioCaptureSession;
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QT_USE_NAMESPACE
|
||||
class AudioCaptureSession;
|
||||
|
||||
class AudioEncoderControl : public QAudioEncoderSettingsControl
|
||||
{
|
||||
@@ -68,8 +68,12 @@ public:
|
||||
void setAudioSettings(const QAudioEncoderSettings&);
|
||||
|
||||
private:
|
||||
void update();
|
||||
|
||||
AudioCaptureSession* m_session;
|
||||
QAudioEncoderSettings m_settings;
|
||||
QList<int> m_sampleRates;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user