search for: enable_sndfile_windows_prototypes

Displaying 6 results from an estimated 6 matches for "enable_sndfile_windows_prototypes".

2010 Jan 05
3
FLAC C API / Visual Studio 2008 FILE* Issue
...() is Windows Only! > ** Open a file passing in a Windows Unicode filename. Otherwise, this is > ** the same as sf_open(). > ** > ** In order for this to work, you need to do the following: > ** > ** #include <windows.h> > ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 > ** #including <sndfile.h> > */ > #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES > SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; > #endif > > There is a windows binary installer in the main web page (one for each of > 32 and 64 b...
2010 Jan 05
2
FLAC C API / Visual Studio 2008 FILE* Issue
Hello, I am currently learning the FLAC C API and had the code working with FLAC__stream_decoder_init_file. However, since I'd need the Unicode filename support, I tried _wfopen_s in combination with FLAC__stream_decoder_init_FILE, however I get a runtime crash as sonn as I call FLAC__stream_decoder_process_until_end_of_stream. The same code (partially taken from the examples) is working
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...function: /* The function sf_wchar_open() is Windows Only! ** Open a file passing in a Windows Unicode filename. Otherwise, this is ** the same as sf_open(). ** ** In order for this to work, you need to do the following: ** ** #include <windows.h> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 ** #including <sndfile.h> */ #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; #endif There is a windows binary installer in the main web page (one for each of 32 and 64 bit windows). The only downside to this is...
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...en a file passing in a Windows Unicode filename. Otherwise, this >> is >> ** the same as sf_open(). >> ** >> ** In order for this to work, you need to do the following: >> ** >> ** #include <windows.h> >> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 >> ** #including <sndfile.h> >> */ >> #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES >> SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; >> #endif >> >> There is a windows binary installer in the main web page (one...
2008 Nov 03
0
No subject
...Unicode filename. = Otherwise, this >> is >> ** the same as sf_open(). >> ** >> ** In order for this to work, you need to do the following: >> ** >> ** #include <windows.h> >> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 >> ** #including <sndfile.h> >> */ >> #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES >> SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO = *sfinfo) ; >> #endif >> >> There is a windows binary instal...
2010 Jan 06
4
FLAC C API / Visual Studio 2008 FILE* Issue
...ode filename. Otherwise, this > >> is > >> ** the same as sf_open(). > >> ** > >> ** In order for this to work, you need to do the following: > >> ** > >> ** #include <windows.h> > >> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 > >> ** #including <sndfile.h> > >> */ > >> #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES > >> SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; > >> #endif > >> > >> There is a windows binary i...