search for: status_error

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

2002 Oct 05
2
ogg123 remote interface
...s(argc, argv, &options, file_opts); audio_play_arg.devices = options.devices; - audio_play_arg.stat_format = stat_format; + audio_play_arg.stat_format = stat_format_create(); /* Add remaining arguments to playlist */ for (i = optind; i < argc; i++) { @@ -341,6 +335,7 @@ status_error(_("Error: Could not create audio buffer.\n")); exit(1); } + audio_buffer_to_cleanup = audio_buffer; } else audio_buffer = NULL; @@ -370,7 +365,7 @@ /* Play the files/streams */ i = 0; while (i < items && !sig_request.exit) { - play(playlist_...
2012 Jun 19
0
[LLVMdev] llvm/include/Support/FileSystem.h
This is a proposed patch to enhance FileSystem.h to add functionality (getting and setting permission bits and mapping an unmapping files). This implementation follows the N3365 proposal regarding permission bits. This functionality is needed for my next patch which will implement llvm/include/Support/FileOutputBuffer.h which is needed by lld. -------------- next part -------------- A
2012 May 18
2
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
On Fri, May 18, 2012 at 3:07 PM, Michael Spencer <bigcheesegs at gmail.com> wrote: > >> +  error_code ec = sys::fs::status(filePathTwine, stat); > > stat is undefined if ec isn't success. ec will be success even in the case of > file_not_found. Actually I was wrong. The Windows and UNIX implementation disagree on this point. I'm going to change it to match
2006 Mar 23
8
DRY principle - how to implement?
Hi all! I have ''send_status'' table which looks something like these: id code title 1 sent Sent 2 error Sending error 3 success Success Next I would like to associate some processed records with their ''send_status''. Is it better to use: 1) record.status_id = SendStatus.find(:one, :condition => "code=''sent''").id to
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...t->statistics(source), + decoder->format->statistics(decoder)); + + return pstats_arg->decoder_statistics->current_time; +} void print_audio_devices_info(audio_device_t *d) { @@ -473,6 +486,10 @@ if (!format->seek(decoder, options.seekpos, DECODER_SEEK_START)) status_error(_("Could not skip %f seconds of audio."), options.seekpos); } + if (options.seekpos > options.endpos) { + printf("Error: -k > -K\n"); + options.endpos = 0.0; + } /* Main loop: Iterates over all of the logical bitstreams in the file */ while (!eof &&...