search for: is_big_endian_host_

Displaying 5 results from an estimated 5 matches for "is_big_endian_host_".

2005 Apr 01
1
bug in xmms plugin v 1.1.2
...lains how it escaped the notice of whoever added the streaming support, which is where this was introduced. (BTW, thank you for the streaming support.) ------- plugin.c ------- --- /tmp/sccs.zza4YF Thu Mar 31 20:03:46 2005 +++ plugin.c Mon Mar 28 19:58:20 2005 @@ -219,6 +219,12 @@ is_big_endian_host_ = (*((FLAC__byte*)(&test)))? false : true; + /* make all the config struct strings dynamic, to ease our life */ + flac_cfg.stream.proxy_host = g_strdup(flac_cfg.stream.proxy_host); + flac_cfg.stream.proxy_user = g_strdup(flac_cfg.stream.proxy_user); + flac_cfg.stream.pr...
2014 Sep 26
0
Patch to add buffering to decoding too
...URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20140926/a0386298/attachment.htm -------------- next part -------------- diff --git a/src/flac/decode.c b/src/flac/decode.c index 5e5e17a..90e0b1a 100644 --- a/src/flac/decode.c +++ b/src/flac/decode.c @@ -101,7 +101,7 @@ static FLAC__bool is_big_endian_host_; static FLAC__bool DecoderSession_construct(DecoderSession *d, FLAC__bool is_ogg, FLAC__bool use_first_serial_number, long serial_number, FileFormat format, FLAC__bool treat_warnings_as_errors, FLAC__bool continue_through_decode_errors, FLAC__bool channel_map_none, replaygain_synthesis_spec_t repl...
2014 Sep 26
3
Patch to add buffering to decoding too
Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently memory usage of FLAC decoding is about 1MB, so this patch is increasing memory usage tenfold, also for platforms that do not need this. It is a non-problem on my system anyway. Op 26-09-14 om 10:36 schreef Janne Hyv?rinen: > I made some changes to the previous patch. I don't know why I > originally didn't put the
2014 Sep 25
2
Patch to add buffering to decoding too
Decoding flac files is also prone to producing fragmented files. NTFS has the ability to completely avoid fragmentation if it is told the file size before hand, but that would require using special Windows-only functions. Increasing the write buffer from the default 512 bytes to 10 MB already reduces the problem tremendously. -------------- next part -------------- diff --git
2014 Sep 26
4
Patch to add buffering to decoding too
...when it (and the previous one) are wrapped in > Win32 #ifdef or similar. > > Erik -------------- next part -------------- diff --git a/src/flac/decode.c b/src/flac/decode.c index 5e5e17a..7705107 100644 --- a/src/flac/decode.c +++ b/src/flac/decode.c @@ -101,7 +101,7 @@ static FLAC__bool is_big_endian_host_; static FLAC__bool DecoderSession_construct(DecoderSession *d, FLAC__bool is_ogg, FLAC__bool use_first_serial_number, long serial_number, FileFormat format, FLAC__bool treat_warnings_as_errors, FLAC__bool continue_through_decode_errors, FLAC__bool channel_map_none, replaygain_synthesis_spec_t repl...