search for: sf_wchar_open

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

2010 Jan 05
3
FLAC C API / Visual Studio 2008 FILE* Issue
...just another > instance. > > If what you want to do is read/write FLAC files with windows 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...
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
...a whole bunch of weird stuff in windows, this is just another instance. If what you want to do is read/write FLAC files with windows 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 **...
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...;> If what you want to do is read/write FLAC files with windows 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...
2008 Nov 03
0
No subject
...ad/write FLAC files with windows = 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: >> ** >> **...
2010 Jan 06
4
FLAC C API / Visual Studio 2008 FILE* Issue
...te FLAC files with windows 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: > >> ** > >>...