mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
42 lines
1.0 KiB
C
42 lines
1.0 KiB
C
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
RawAudioGuess.h
|
|
|
|
Dominic Mazzoni
|
|
|
|
Attempts to determine the format of an audio file that doesn't
|
|
have any header information. Returns the format as a
|
|
libsndfile-compatible format, along with the guessed number of
|
|
channels and the byte-offset.
|
|
|
|
**********************************************************************/
|
|
|
|
#include <wx/defs.h>
|
|
|
|
#include <sndfile.h>
|
|
|
|
#ifndef SNDFILE_1
|
|
#error Requires libsndfile 1.0.3 or higher
|
|
#endif
|
|
|
|
/* Returns the best guess as to the format, as a libsndfile
|
|
SF_FORMAT value
|
|
*/
|
|
int RawAudioGuess(const wxString &in_fname,
|
|
int *out_offset, int *out_channels);
|
|
|
|
|
|
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
|
|
// version control system. Please do not modify past this point.
|
|
//
|
|
// Local Variables:
|
|
// c-basic-offset: 3
|
|
// indent-tabs-mode: nil
|
|
// End:
|
|
//
|
|
// vim: et sts=3 sw=3
|
|
// arch-tag: e51391e7-bc24-4dc6-84bc-95ac04221a95
|
|
|