Displaying 20 results from an estimated 26 matches for "outfilenam".
Did you mean:
outfilename
2016 Feb 09
2
Compilation failure using mingw-w64 and gcc-5.3.0
...fter-statement
-D_FORTIFY_SOURCE=2 -msse2 -MT decode.o -MD -MP -MF $depbase.Tpo -c -o
decode.o decode.c &&\
mv -f $depbase.Tpo $depbase.Po
decode.c: In function 'DecoderSession_destroy':
decode.c:270:5: error: unknown type name 'HANDLE'
HANDLE fh = CreateFile_utf8(d->outfilename,
GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
^
decode.c:270:17: warning: implicit declaration of function
'CreateFile_utf8' [-Wimplicit-function-declaration]
HANDLE fh = CreateFile_utf8(d->outfilename,
GENERI...
2016 Feb 08
2
Compilation failure using mingw-w64 and gcc-5.3.0
Hello,
Upon compiling the flac tree today, after many successful compilations over
the last few weeks, a new error is appearing before compilation bails out.
This is a cross-compilation using gcc-5.3.0 running on GNU/Linux, with the
objects being built for a mingw-w64-x86_64 host.
Among other things, the compiler is looking for windows_unicode_filenames.h
but it isn't there. Also, I'm
2014 Sep 26
4
Patch to add buffering to decoding too
...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_process(DecoderSession *d,...
2014 Sep 26
0
Patch to add buffering to decoding too
...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_process(DecoderSession *d,...
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 /...
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
2011 Jun 19
1
save and load in R
...5. "./file5.txt"
6. "./file6.txt"
7. "./file7.txt"
8. "./file8.txt"
9. "./file9.txt"
10. "./file10.txt"
I saved these files as
for ( i in 1:10)
{
dataFile = read.table(filenames[i], header=TRUE, sep='\t');
save (dataFile, file = outfilenames[i])
}
The inpt files are saves as:
outfilenames
1. "./file1.Rdata"
2. "./file2.Rdata"
3. "./file3.Rdata"
4. "./file4.Rdata"
5. "./file5.Rdata"
6. "./file6.Rdata"
7. "./file7.Rdata"
8. "./file8.Rdata"
9. "./file9...
2014 Sep 27
0
Patch to add buffering to decoding too
...LAC__
void DecoderSession_destroy(DecoderSession *d, FLAC__bool error_occurred)
{
if(0 != d->fout && d->fout != stdout) {
+#ifdef _WIN32
+ if(!error_occurred) {
+ FLAC__off_t written_size = ftello(d->fout);
+ if(written_size > 0) {
+ 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) {
+ if(GetFileType(fh) == FILE_TYPE_DISK) {
+ LARGE_INTEGER size;
+ size.QuadPart = written_size;
+ if(SetFilePointerEx(fh, size,...
2000 May 19
0
I present: The Elusive 'fixprogs' script
...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); $|=1; select(STDOUT);
foreach (@infile) {
if (/^\s*\#/ || /^\s*$/) {
print OUT;
next;
}
($cmd, $path, $est...
2010 Dec 30
2
remove newlines / perl /concise example
...ot; 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, ">", "$outfilename") or die "Can\'t open $outfilename for
writing. $!";
# Comment out either, both, or neither of the below "binmode" == no joy
#binmode $in;
binmode $out;
while (<$in>)
{
#...
2012 Feb 26
2
Help needed! Error in setwd(newdir) : cannot change working directory
...est, and with the data directory name as arg passed to my R script. Here is my mytest02.R script:
>># retrieve args>>args <- commandArgs(TRUE);>># store the current directory>>initial.dir <- getwd();>>newdir <- paste(initial.dir,args,sep="/");>>outfilename <- paste(args,"out",sep=".");>># change to the new directory>>setwd(newdir);>># load the necessary libraries>>library("A"); #>>library("B");>>library("C");>># set the output file>>sink(outfilename...
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
...nother 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 decode.c:500
500 if(flac_...
2012 May 02
1
Extracting results from a median polish
...m a new user to R,
How do I extract my solution of a median polish matrix from R to a spreadsheet file such as .csv?
>From my reading of my guide book (R for SPSS and SAS users version 2), I deduce that exporting a file to .csv would look like the following:
write.csv(medpolish, file ="outfilename.csv", row.names = FALSE) ,
by I get the following:
Error in as.data.frame.default(x[[i]], optional = TRUE) :
cannot coerce class '"function"' into a data.frame
So far I've been copy/pasting segment by segment into Excel and running text2column, but there has got to...
2005 Jan 02
3
Recursively vcutting
...e possible using a small shell script and vcut,
but my scripting abilities are lacking. ?Does anyone know of the existence of
a script which would do this, or know how I'd go about making one?
So say I had a 60 min file (60mins.ogg) I'd like to issue a command something
like
> split outfilename 60mins.ogg 600
which would do a series of vcuts
vcut outfile1.ogg tmpfile.ogg 60mins.ogg +600
vcut outfile2.ogg tmpfile2.ogg tmpfile.ogg +600
/bin/rm tmpfile.ogg
vcut outfile3.ogg tmpfile3.ogg tmpfile2.ogg +600
/bin/rm tmpfile2.ogg
.......
until it's reached the end of the file
I'm...
2010 Sep 15
2
Get File Names in Folder, Read Files, Update, and Write
Dear All,
Could you please recommend how I can do this?
I have several text files in one folder. Let's name them A0801.RSK,
A0802.RSK, ....
I would like R to
1) Know all file names in this folder
2) Update value in one column of these files
3) Write results in another text file with _xval in the file names
Below is R code for read, update, and write one file
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!
...er_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_order=16, rice_parameter_search_dist=0,
max_lpc_order=3...
2006 Jun 04
0
Re: flac with >4GB raw still does not work (CVS)
...e.
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 = {seconds = 0, samples = 0}},
until_specification = {is_relative = 0, value_is_samp...
2012 Mar 14
1
not saving plot with resizable size?
i want to save plots in batch mode(100 plots in single code) in resizable
mode
which format should i use,i m working on windows
> savePlot("zatka",type="pdf",device=dev.cur())
Error in savePlot("zatka", type = "pdf", device = dev.cur()) :
can only copy from 'windows' devices
--
View this message in context: