mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 22:21:11 +02:00
Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches
This commit is contained in:
41
src/import/RawAudioGuess.h
Normal file
41
src/import/RawAudioGuess.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/**********************************************************************
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user