Audacity 3.2.0
RawAudioGuess.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 RawAudioGuess.h
6
7 Dominic Mazzoni
8
9 Attempts to determine the format of an audio file that doesn't
10 have any header information. Returns the format as a
11 libsndfile-compatible format, along with the guessed number of
12 channels and the byte-offset.
13
14**********************************************************************/
15
16#include <wx/defs.h>
17
18#include <sndfile.h>
19
20#ifndef SNDFILE_1
21#error Requires libsndfile 1.0.3 or higher
22#endif
23
24/* Returns the best guess as to the format, as a libsndfile
25 SF_FORMAT value
26*/
27int RawAudioGuess(const wxString &in_fname,
28 unsigned *out_offset, unsigned *out_channels);
int RawAudioGuess(const wxString &in_fname, unsigned *out_offset, unsigned *out_channels)