kwave  18.07.70
Record-Qt.cpp File Reference
#include "config.h"
#include <algorithm>
#include <limits>
#include <QApplication>
#include <QAudioDeviceInfo>
#include <QAudioFormat>
#include <QAudioInput>
#include <QCursor>
#include <QFileInfo>
#include <QIODevice>
#include <QLatin1Char>
#include <QLocale>
#include <QString>
#include <QVariant>
#include <QtGlobal>
#include <KLocalizedString>
#include "libkwave/Compression.h"
#include "libkwave/SampleFormat.h"
#include "libkwave/String.h"
#include "libkwave/Utils.h"
#include "libkwave/memcpy.h"
#include "Record-Qt.h"
Include dependency graph for Record-Qt.cpp:

Go to the source code of this file.

Macros

#define DEFAULT_DEVICE   (i18n("Default device") + _("|sound_note"))
 
#define RECORD_POLL_TIMEOUT   200
 
#define BUFFER_SIZE_OVERCOMMIT   2
 

Macro Definition Documentation

◆ BUFFER_SIZE_OVERCOMMIT

#define BUFFER_SIZE_OVERCOMMIT   2

factor that determines how much the device device buffer should be larger compared to the buffers used by the record plugin

Definition at line 57 of file Record-Qt.cpp.

Referenced by Kwave::RecordQt::createInMainThread(), and Kwave::RecordQt::read().

◆ DEFAULT_DEVICE

#define DEFAULT_DEVICE   (i18n("Default device") + _("|sound_note"))

gui name of the default device

Definition at line 48 of file Record-Qt.cpp.

Referenced by Kwave::RecordQt::deviceInfo(), and Kwave::RecordQt::supportedDevices().

◆ RECORD_POLL_TIMEOUT

#define RECORD_POLL_TIMEOUT   200

timeout for read operation [ms]

Definition at line 51 of file Record-Qt.cpp.

Referenced by Kwave::RecordQt::read().