|
kwave
18.07.70
|
#include "config.h"#include <errno.h>#include <fcntl.h>#include <math.h>#include <sys/ioctl.h>#include <sys/soundcard.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include <QDir>#include <QFile>#include <QLatin1Char>#include <QtGlobal>#include "libkwave/Compression.h"#include "libkwave/SampleFormat.h"#include "libkwave/String.h"#include "libkwave/Utils.h"#include "Record-OSS.h"
Go to the source code of this file.
Macros | |
| #define | AFMT_S24_LE 0x00008000 |
| #define | AFMT_S24_BE 0x00010000 |
| #define | AFMT_S32_LE 0x00001000 |
| #define | AFMT_S32_BE 0x00002000 |
| #define | SNDCTL_DSP_SPEED SOUND_PCM_WRITE_RATE |
| #define | SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS |
| #define | SOUND_PCM_SETFMT SOUND_PCM_WRITE_BITS |
| #define | SNDCTL_DSP_SETFMT SOUND_PCM_SETFMT |
| #define | MAX_CHANNELS 2 |
Functions | |
| static bool | addIfExists (QStringList &list, const QString &name) |
| static void | scanFiles (QStringList &list, const QString &dirname, const QString &mask) |
| static void | scanDirectory (QStringList &list, const QString &dir) |
| #define AFMT_S24_BE 0x00010000 |
Definition at line 48 of file Record-OSS.cpp.
Referenced by Kwave::RecordOSS::detectCompressions(), Kwave::RecordOSS::endianness(), Kwave::RecordOSS::format2mode(), and Kwave::RecordOSS::mode2format().
| #define AFMT_S24_LE 0x00008000 |
Definition at line 45 of file Record-OSS.cpp.
Referenced by Kwave::RecordOSS::detectCompressions(), Kwave::RecordOSS::endianness(), Kwave::RecordOSS::format2mode(), and Kwave::RecordOSS::mode2format().
| #define AFMT_S32_BE 0x00002000 |
Definition at line 54 of file Record-OSS.cpp.
Referenced by Kwave::RecordOSS::detectCompressions(), Kwave::RecordOSS::endianness(), Kwave::RecordOSS::format2mode(), and Kwave::RecordOSS::mode2format().
| #define AFMT_S32_LE 0x00001000 |
Definition at line 51 of file Record-OSS.cpp.
Referenced by Kwave::RecordOSS::detectCompressions(), Kwave::RecordOSS::endianness(), Kwave::RecordOSS::format2mode(), and Kwave::RecordOSS::mode2format().
| #define MAX_CHANNELS 2 |
highest available number of channels
Definition at line 74 of file Record-OSS.cpp.
Referenced by Kwave::RecordOSS::detectTracks().
| #define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS |
Definition at line 62 of file Record-OSS.cpp.
Referenced by Kwave::RecordOSS::detectTracks(), and Kwave::RecordOSS::setTracks().
| #define SNDCTL_DSP_SETFMT SOUND_PCM_SETFMT |
Definition at line 70 of file Record-OSS.cpp.
Referenced by Kwave::RecordOSS::bitsPerSample(), Kwave::RecordOSS::compression(), Kwave::RecordOSS::endianness(), Kwave::RecordOSS::sampleFormat(), Kwave::RecordOSS::setBitsPerSample(), Kwave::RecordOSS::setCompression(), and Kwave::RecordOSS::setSampleFormat().
| #define SNDCTL_DSP_SPEED SOUND_PCM_WRITE_RATE |
Definition at line 58 of file Record-OSS.cpp.
Referenced by Kwave::RecordOSS::detectSampleRates(), and Kwave::RecordOSS::setSampleRate().
| #define SOUND_PCM_SETFMT SOUND_PCM_WRITE_BITS |
Definition at line 66 of file Record-OSS.cpp.
|
static |
Definition at line 231 of file Record-OSS.cpp.
References _.
Referenced by scanFiles().

|
static |
Definition at line 275 of file Record-OSS.cpp.
References _, and scanFiles().
Referenced by Kwave::RecordOSS::supportedDevices().


|
static |
Definition at line 256 of file Record-OSS.cpp.
References addIfExists().
Referenced by scanDirectory(), and Kwave::RecordOSS::supportedDevices().

