Audacity 3.2.0
|
#include "RawAudioGuess.h"
#include "AudacityException.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <wx/defs.h>
#include <wx/ffile.h>
Go to the source code of this file.
Macros | |
#define | RAW_GUESS_DEBUG 0 |
Functions | |
static float | AmpStat (float *data, size_t len) |
static float | JumpStat (float *data, size_t len) |
static float | SecondDStat (float *data, size_t len) |
static float | RedundantStereo (float *data, size_t len) |
static void | ExtractFloats (bool doublePrec, bool bigendian, bool stereo, size_t offset, char *rawData, size_t dataSize, float *data1, float *data2, size_t *len1, size_t *len2) |
static void | Extract (bool bits16, bool sign, bool stereo, bool bigendian, bool offset, char *rawData, int dataSizeIn, float *data1, float *data2, size_t *len1, size_t *len2) |
static int | GuessFloatFormats (unsigned numTests, const ArrayOf< char > rawData[], size_t dataSize, size_t *out_offset, unsigned *out_channels) |
static int | Guess8Bit (unsigned numTests, const ArrayOf< char > rawData[], size_t dataSize, unsigned *out_channels) |
static int | Guess16Bit (unsigned numTests, const ArrayOf< char > rawData[], size_t dataSize, bool evenMSB, size_t *out_offset, unsigned *out_channels) |
static int | GuessIntFormats (unsigned numTests, const ArrayOf< char > rawData[], size_t dataSize, size_t *out_offset, unsigned *out_channels) |
int | RawAudioGuess (const wxString &in_fname, size_t *out_offset, unsigned *out_channels) |
#define RAW_GUESS_DEBUG 0 |
Definition at line 28 of file RawAudioGuess.cpp.
|
static |
Definition at line 34 of file RawAudioGuess.cpp.
References staffpad::audio::simd::sqrt().
Referenced by GuessIntFormats().
|
static |
Definition at line 183 of file RawAudioGuess.cpp.
References BadUserAction, and XO().
Referenced by Guess16Bit(), Guess8Bit(), and GuessIntFormats().
|
static |
Definition at line 105 of file RawAudioGuess.cpp.
References min(), and anonymous_namespace{NoteTrack.cpp}::swap().
Referenced by GuessFloatFormats().
|
static |
Definition at line 664 of file RawAudioGuess.cpp.
References Extract(), anonymous_namespace{ExportPCM.cpp}::format, JumpStat(), and RedundantStereo().
Referenced by GuessIntFormats().
|
static |
Definition at line 516 of file RawAudioGuess.cpp.
References Extract(), JumpStat(), and RedundantStereo().
Referenced by GuessIntFormats().
|
static |
Definition at line 293 of file RawAudioGuess.cpp.
References ExtractFloats(), anonymous_namespace{ExportPCM.cpp}::format, JumpStat(), min(), RedundantStereo(), and SecondDStat().
Referenced by RawAudioGuess().
|
static |
Definition at line 927 of file RawAudioGuess.cpp.
References AmpStat(), Extract(), anonymous_namespace{ExportPCM.cpp}::format, Guess16Bit(), and Guess8Bit().
Referenced by RawAudioGuess().
|
static |
Definition at line 60 of file RawAudioGuess.cpp.
Referenced by Guess16Bit(), Guess8Bit(), and GuessFloatFormats().
int RawAudioGuess | ( | const wxString & | in_fname, |
size_t * | out_offset, | ||
unsigned * | out_channels | ||
) |
Definition at line 1006 of file RawAudioGuess.cpp.
References anonymous_namespace{ExportPCM.cpp}::format, GuessFloatFormats(), GuessIntFormats(), and wxT().
|
static |
Definition at line 93 of file RawAudioGuess.cpp.
Referenced by Guess16Bit(), Guess8Bit(), and GuessFloatFormats().
|
static |
Definition at line 76 of file RawAudioGuess.cpp.
Referenced by GuessFloatFormats().