Displaying 10 results from an estimated 10 matches for "analysis_mod".
Did you mean:
analysis_mode
2014 Sep 26
0
Patch to add buffering to decoding too
...n_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 replaygain_synthesis_spec, FLAC__bool analysis_mode, analysis_options aopts, utils__SkipUntilSpecification *skip_specification, utils__SkipUntilSpecification *until_specification, utils__CueSpecification *cue_specification, foreign_metadata_t *foreign_metadata, const char *infilename, const char *outfilename);
static void DecoderSession_destroy(De...
2014 Sep 26
4
Patch to add buffering to decoding too
...n_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 replaygain_synthesis_spec, FLAC__bool analysis_mode, analysis_options aopts, utils__SkipUntilSpecification *skip_specification, utils__SkipUntilSpecification *until_specification, utils__CueSpecification *cue_specification, foreign_metadata_t *foreign_metadata, const char *infilename, const char *outfilename);
static void DecoderSession_destroy(De...
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 27
0
Patch to add buffering to decoding too
...rrect the file size */
+ SetEndOfFile(fh);
+ }
+ CloseHandle(fh);
+ }
+ }
+ }
+#endif
fclose(d->fout);
if(error_occurred)
flac_unlink(d->outfilename);
@@ -364,6 +381,32 @@ FLAC__bool DecoderSession_process(DecoderSession *d)
}
}
+#ifdef _WIN32
+ if(!d->analysis_mode && !d->test_only && d->total_samples > 0 && d->fout != stdout) {
+ HANDLE fh = CreateFile_utf8(d->outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
+ if(fh != INVALID_HANDLE_VALUE)...
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
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
...SEGV, Segmentation fault.
0xb7ea7044 in fwrite () from /lib/libc.so.6
(gdb) bt
#0 0xb7ea7044 in fwrite () from /lib/libc.so.6
#1 0x0804ef09 in DecoderSession_process (d=0xbffff530) at decode.c:500
#2 0x08051275 in flac__decode_wav (infilename=0x8341978 "metaflac.flac", outfilename=0x0, analysis_mode=0, aopts=
{do_residual_text = 0, do_residual_gnuplot = 1}, options=
{common = {continue_through_decode_errors = 0, replaygain_synthesis_spec = {apply = 0, use_album_gain = 1, limiter = RGSS_LIMIT__HARD, noise_shaping = NOISE_SHAPING_LOW, preamp = 0}, is_ogg = 0, use_first_serial_nu...
2004 Sep 10
3
0.9 problems
...decoder=0x1202b9c30) at stream_decoder.c:240
#5 0x200000e5434 in FLAC__file_decoder_process_whole_file (
decoder=0x1202b9990) at file_decoder.c:181
#6 0x1200030cc in decode_wav (infile=0x11ffffe25 "/home/mdz/english.flac",
outfile=0x11ffffe3c "/home/mdz/english2.wav", analysis_mode=0, aopts={
do_residual_text = 0, do_residual_gnuplot = 0}, verbose=1, skip=0)
at decode.c:119
#7 0x12000a098 in main (argc=4, argv=0x11ffffc28) at main.c:288
It's not obvious at first glance where the fault is being triggered; residual
and data both appear valid.
--
- mdz
2004 Sep 10
5
0.9 problems
Problems in FLAC 0.9:
- On alpha, flac immediately dumps core for both encoding and
decoding (FreeBSD/alpha).
- The distribution Makefile.in files haven't been generated with
"automake --include-deps". The resulting Makefiles aren't fully
portable; in particular they break with BSD make. In the future,
care should be taken to use "--include-deps".
- What is
2006 Aug 28
2
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
doing "make check" on flac-1.1.2, I get a segmentation fault
././test_metaflac.sh: line 51: 17370 Segmentation fault flac $*
when running this portion of the test/test_metaflac.sh script:
(set -x && run_metaflac --preserve-modtime --add-padding=12345 $flacfile)
check_exit
check_flac <---------------- where the segfault happens
All other tests in
2007 Jan 08
6
[PATCH 0/5] Debian patches for 1.1.3
Hi Josh,
Here are all the patches that are currently applied to the Debian
packages for flac. You may disagree with some of them but as the current
maintainer, I'm submitting them all for your consideration.
(I should've submitted them earlier, but I've been quite busy. Sorry!)
Here is a listing of the patches that I'll be sending:
Patch 1 fixes a simple typo in metaflac