search for: sf_open

Displaying 7 results from an estimated 7 matches for "sf_open".

Did you mean: f_open
2010 Jan 05
3
FLAC C API / Visual Studio 2008 FILE* Issue
...is to use libsndfile: > > http://www.mega-nerd.com/libsndfile/ > > which with version 1.0.21 has added this 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_...
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
2011 Mar 10
4
Wav to Ogg Vorbis conversion
Dear experts, I am trying to use an example I found here: http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c Could you please tell me what float** buffer is needed for (I don't see it used anywhere). Also, could you please tell me what this code is doing: for(i=0;i<bytes/4;i++){ buffer[0][i]=((readbuffer[i*4+1]<<8)|
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...dows UCS-16 filenames, one option is to use libsndfile: http://www.mega-nerd.com/libsndfile/ which with version 1.0.21 has added this 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, in...
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...http://www.mega-nerd.com/libsndfile/ >> >> which with version 1.0.21 has added this 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> >> */ >&gt...
2008 Nov 03
0
No subject
...bsndfile/ >> >> which with version 1.0.21 has added this 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&gt...
2010 Jan 06
4
FLAC C API / Visual Studio 2008 FILE* Issue
...ile/ > >> > >> which with version 1.0.21 has added this 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 <sndfil...