search for: infilenam

Displaying 19 results from an estimated 19 matches for "infilenam".

Did you mean: infilename
2004 Oct 07
1
Cant fetch on Window network due to special characters infilename.
> Subject: [Samba] Cant fetch on Window network due to special characters > infilename. > > Hi All, > > I am new to this group :) . Please accept my warm regards! > > While I am trying to access files on Windows share that contains special > names the smbclient fails up as shown below: > > Lets say the filename is Bryan Adams - Let's Make a Night...
2004 Sep 10
2
Proposed change to code that handles output_prefix
On line 734 in src/flac/main.c, ver 1.77, change: strcat(outfilename, infilename); to strcat(outfilename, flac__file_get_basename(infilename)); I did this change because I was calling flac with an input filename with a path on the front of it, and I wanted the output file to go to a different location, such as this: flac --best --output-prefix /usr/share/flac /home/akehurs...
2010 Dec 30
2
remove newlines / perl /concise example
...ything on one line, i.e., remove all newlines. Like so: <aaaa><bbbb><cccc><dddd> Simple perl code: #!/usr/bin/env perl # Remove newlines from a file in two ways: # (1) Just "chomp" them; # (2) Replace them with a space. # Open input file for reading only. my $infilename = "/tmp/newline-test-in"; open(my $in, "<", "$infilename") or die "Can't open file \"$infilename\": $!"; # Open output file for writing only. my $outfilename = "/tmp/newline-test-out"; open (my $out, ">", "$outfi...
2014 Sep 26
0
Patch to add buffering to decoding too
...playgain_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(DecoderSession *d, FLAC__bool error_occurred); static FLAC__bool DecoderSession_init_decoder(DecoderSession *d, const char *infilename); -static FLAC__bool DecoderSession_process(DecoderSession *d); +static FLAC__bool DecoderSession_p...
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
...n gdb and get a backtrace that would be another clue. Josh Seems like fwrite doesn't like to write to null. However, it seems clear from the code that using --test intentionally creates no outputfile for fwrite. src/flac/main.c: 1730 retval = flac__decode_wav(infilename, option_values.test_only? 0 : outfilename, option_values.analyze, option_values.aopts, options); Details below: (gdb) run Starting program: /home/tom/sources/flac-1.1.2/src/flac/.libs/lt-flac --silent --test metaflac.flac Breakpoint 1, DecoderSession_process (d=0xbffff530) at dec...
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
2000 May 19
0
I present: The Elusive 'fixprogs' script
...tropy measurement sub usage { return("Usage: $0 <command file>\n"); } if (($#ARGV == -1) || ($#ARGV>1)) { die(&usage); } # 'undocumented' option - run ent (in second param) on the output if ($#ARGV==1) { $entcmd=$ARGV[1] } else { $entcmd = "" }; $infilename = $ARGV[0]; if (!open(IN, "<".$infilename)) { die("Couldn't open input file"); } $outfilename=$infilename.".out"; if (!open(OUT, ">$outfilename")) { die("Couldn't open output file $outfilename"); } @infile=<IN>; select(OUT...
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
...playgain_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(DecoderSession *d, FLAC__bool error_occurred); static FLAC__bool DecoderSession_init_decoder(DecoderSession *d, const char *infilename); -static FLAC__bool DecoderSession_process(DecoderSession *d); +static FLAC__bool DecoderSession_p...
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
2004 Sep 10
0
ERROR: mismatch in decoded data, verify FAILED!
...is_last_frame=0) at encoder.c:863 #10 0x8052f50 in encoder_process_frame_ (encoder=0x8314758, is_last_frame=0) at encoder.c:632 #11 0x8052a46 in FLAC__encoder_process (encoder=0x8314758, buf=0x83080e0, samples=2048) at encoder.c:536 #12 0x804bb31 in flac__encode_wav (infile=0x8314478, infilename=0xbffffa09 "/tmp/test-9.wav", outfilename=0xbfffe7d8 "/tmp/test-9.flac", verbose=1, skip=0, verify=1, lax=0, do_mid_side=1, loose_mid_side=0, do_exhaustive_model_search=1, do_qlp_coeff_prec_search=1, min_residual_partition_order=0, max_residual_partition_ord...
2006 Jun 04
0
Re: flac with >4GB raw still does not work (CVS)
...ded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0xb7de8d0e in ferror () from /lib/libc.so.6 (gdb) bt #0 0xb7de8d0e in ferror () from /lib/libc.so.6 #1 0x08055329 in flac__encode_raw (infile=0x833d430, infilesize=14938537984, infilename=0x833d3e0 "/mnt/sda/Sound/Recording/2006-06-02/a.raw", outfilename=0xbfd86800 "b.flac", lookahead=0xbfd859d0 "?\233\006\b?\233\006\b\bZ?0?3\b", lookahead_length=0, options= {common = {skip_specification = {is_relative = 0, value_is_samples = 1, value = {seco...
2006 Jun 03
2
flac with >4GB raw still does not work (CVS)
I'm attempting to flac a 18GB raw file, and as per 1328191 I compiled CVS, when it gets to 4GB it doesn't continue. I've tried stracing and get no output after a certain point. I also have tried oggflac and it is no different. I configured with no options or special CFLAGS and this is on a x86 machine. Is there anything special I need to do to get this to work? I have also tried with
2015 Oct 08
2
[PATCH 0/1] opusenc support for WavPack input
This patch to opus-tools adds optional support to WavPack lossless format as input to opusenc. Like support to FLAC, it depends on an external library, libwavpack, and may be disabled on configure. Lucas Clemente Vella (1): Reading input from WavPack files. Makefile.am | 7 +- configure.ac | 37 ++++++++ src/audio-in.c | 71 ++++++++------- src/opusenc.c | 19 +++- src/opusenc.h
2004 Sep 10
5
ERROR: mismatch in decoded data, verify FAILED!
> > I also had this verify error encoding a wav I ripped from a CD. I > didn't > > report this as it happended on flac running on debian linux > -current unstable. > > This error happened only with one track of a CD I was ripping. > > > > Another reason for me not reporting this was, that flac 1.0 running > on OpenBSD > > 2.9 encoded the wav with
2010 Nov 10
0
bug fix for speex_resampler_reset_mem?
I'm using resample.c from speex in my project, and was testing it by processing the same waveform twice, with a reset() call in the middle, as follows: short *input_data = read_waveform_as_linear(infileName, &rate, &num_samples, &num_channels); SpeexResamplerState *state = speex_resampler_init_frac(num_channels, in_rate, out_rate, in_rate, out_rate, quality, &error); speex_resampler_skip_zeros(state); speex_resampler_process_int(state, 0, input_data, ...) write_waveform(...) speex_r...
2012 Apr 17
1
[PATCH] Remove local_strtoull, windows has equivalent function _strtoui64
...clude "FLAC/all.h" #include "share/alloc.h" #include "share/grabbag.h" +#include "share/compat.h" #include "analyze.h" #include "decode.h" #include "encode.h" @@ -84,11 +85,6 @@ static const char *get_outfilename(const char *infilename, const char *suffix); static void die(const char *message); static int conditional_fclose(FILE *f); static char *local_strdup(const char *source); -#ifdef _MSC_VER -/* There's no strtoll() in MSVC6 so we just write a specialized one */ -static FLAC__int64 local__strtoll(const char *src, cha...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...tern int csize; extern int yymore_used, reject, real_reject, continued_action, in_rule; extern int yymore_really_used, reject_really_used; extern int datapos, dataline, linenum, out_linenum; extern FILE *skelfile, *yyin, *backing_up_file; extern const char *skel[]; extern int skel_ind; extern char *infilename, *outfilename; extern int did_outfilename; extern char *prefix, *yyclass; extern int do_stdinit, use_stdout; extern char **input_files; extern int num_input_files; extern char *program_name; extern char *action_array; extern int action_size; extern int defs1_offset, prolog_offset, action_offset, a...