Displaying 13 results from an estimated 13 matches for "seekpos".
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...= getopt_long(argc, argv, "b:c::d:f:hl:k:o:p:qvVx:y:z@:",
+ while (-1 != (ret = getopt_long(argc, argv, "b:c::d:f:hl:k:K:o:p:qvVx:y:z@:",
long_options, &option_index))) {
switch (ret) {
@@ -137,7 +149,11 @@
break;
case 'k':
- ogg123_opts->seekpos = atof(optarg);
+ ogg123_opts->seekpos = strtotime(optarg);
+ break;
+
+ case 'K':
+ ogg123_opts->endpos = strtotime(optarg);
break;
case 'l':
@@ -279,6 +295,7 @@
_(" -f, --file=filename Set the output filename for a previously\n"
"...
2004 Sep 10
3
problem with seek_absolute in libFLAC++
...lue of "sample" (the
arguement), it is NOT 3561525, rather it is some huge number like
4621539102901141517.
I figure it could be something to do with types or something,
seek_absolute expects a FLAC__uint64, I have tried a few things along
this line without success eg.
FLAC__uint64 seekpos = 3561525;
seek_absolute(seekpos);
doesn't work either.
Does anyone know what this problem is, or has anyone else had problem
with seek_absolute of the C++ File decoder class ??
Thanks,
Dave
2004 Sep 10
0
problem with seek_absolute in libFLAC++
...t), it is NOT 3561525, rather it is some huge number like
> 4621539102901141517.
>
> I figure it could be something to do with types or something,
> seek_absolute expects a FLAC__uint64, I have tried a few things along
>
> this line without success eg.
>
> FLAC__uint64 seekpos = 3561525;
> seek_absolute(seekpos);
>
> doesn't work either.
>
> Does anyone know what this problem is, or has anyone else had problem
> with seek_absolute of the C++ File decoder class ??
hmm... did the unit tests pass? they do seek_absolute
calls and fail if they return...
2006 Nov 21
0
[LLVMdev] libstdc++ as bytecode, again
...d): In function `__cxxabiv1::__pbase_type_info::__do_catch(std::type_info const*, void**, unsigned int) const':
: undefined reference to `l182___cxa_bad_typeid'
/var/tmp//cc79lj1N.o(.data+0x19fc): undefined reference to `std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)'
/var/tmp//cc79lj1N.o(.data+0x1a3c): undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)'
$
And again, using llvmc instead of llvm-link produces...
2004 Sep 10
1
problem with seek_absolute in libFLAC++
...ather it is some huge number like
>> 4621539102901141517.
>>
>>I figure it could be something to do with types or something,
>>seek_absolute expects a FLAC__uint64, I have tried a few things along
>>
>>this line without success eg.
>>
>>FLAC__uint64 seekpos = 3561525;
>>seek_absolute(seekpos);
>>
>>doesn't work either.
>>
>>Does anyone know what this problem is, or has anyone else had problem
>>with seek_absolute of the C++ File decoder class ??
>>
>
>hmm... did the unit tests pass? they do seek_abs...
2003 Feb 28
2
ogg123 -k 1:59 patch.ogg # minutes and seconds
...= ':') {
+ min = sec;
+ sec = 0.0;
+ }
+ p++;
+ }
+ return (min*60+sec+atof(p));
+}
int parse_cmdline_options (int argc, char **argv,
ogg123_options_t *ogg123_opts,
@@ -137,7 +155,7 @@
break;
case 'k':
- ogg123_opts->seekpos = atof(optarg);
+ ogg123_opts->seekpos = minsec_atof(optarg);
break;
case 'l':
PS: Is there a library function for this kind of stuff?
best regards/hans
--
Hamletsgade 4 - 201, DK-2200 København N, Phone: +45 3582 9079
Schou Industries ApS http:...
2002 Oct 05
2
ogg123 remote interface
...iled because of user command */
+ if (!sig_request.cancel)
+ status_error(_("Error opening %s using the %s module."
+ " The file may be corrupted.\n"), source_string,
+ format->name);
+ continue;
+ }
- /* Skip over audio */
- if (options.seekpos > 0.0) {
- if (!format->seek(decoder, options.seekpos, DECODER_SEEK_START))
- status_error(_("Could not skip %f seconds of audio."), options.seekpos);
- }
+ /* Decide which statistics are valid */
+ select_stats(audio_play_arg->stat_format, &options,
+...
2002 Sep 13
6
Keyframe seeking in Ogg and spec
...has a unique frame number and also a
clear 'group' number, potentially useful information to the decoder.
Lastly, granulepos is still semantically correct, although it is
now, in a sense, representing a whole.fractional frame number for
buffering purposes.
Scheme Four: Extra 'Seekpos' Field / Straw Man
Another possibility requires extension of the current Ogg page
format. Although older players would reject any such extended pages
as invalid, we do have versioning and typing fields, so there's not
actually any compatibility problems with current Ogg pages... i...
2001 Sep 12
6
Yet another backtrace
...r=0x804d060 "GÐøÏMÐýÏRÐ",
length=4096, bigendianp=0, word=2, sgned=1, bitstream=0xbfffe53c)
at vorbisfile.c:1486
#5 0x0804a0e1 in play_file (opt=
{read_file = 0xbffffa6d "http://www.djlithium.com:8064/djlithium.ogg",
shuffle = 0 '\000', verbose = 1, quiet = 0, seekpos = 19.24444580078125,
instream = 0x40333e94, outdevices = 0x4024cfec, buffer_size = 0, rate =
-1073743656, channels = 1073797552, delay = 1}) at ogg123.c:477
#6 0x0804994b in main (argc=3, argv=0xbffff560) at ogg123.c:250
#7 0x400bb177 in __libc_start_main (main=0x8049570 <main>, argc=3,
ubp...
2001 Sep 11
2
Another backtrace
I got this one this morning, but didn't notice it til now:
---
(gdb) bt
#0 0x4003be91 in vorbis_block_clear (vb=0xbffff71c) at block.c:156
#1 0x4003ce36 in vorbis_analysis_blockout (v=0xbffff71c, vb=0x8050b80)
at block.c:591
#2 0x4002ff23 in _prefetch_all_headers (vf=0xbffff540,
dataoffset=-1073749296)
at vorbisfile.c:324
#3 0x4003039c in _process_packet (vf=0xbffff540, readp=1)
2015 Aug 07
0
Wine release 1.7.49
...e.
Piotr Caban (5):
user32: Test GetIconInfo on other process cursor.
ole32: Don't pump all messages in CoWaitForMultipleHandles in threads without apartment window.
ole32/tests: Fix new failures in CoWaitForMultipleHandles tests.
msvcp90: Fix stringbuf and strstreambuf seekpos implementation.
msvcp120: Fix tr2::sys::_Copy_file test failures on non-ntfs file system.
Sebastian Lackner (27):
server: Use a separate wineserver call to fetch thread times.
ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtSetInformationThread.
ntdll: Impl...
2012 Aug 17
0
Wine release 1.5.11
...se streamoff in std::_BADOFF definition.
msvcp90: Added partial strstreambuf implementation.
msvcp90: Fixed basic_streambuf::sputn functions behaviour when there's no place in buffer.
msvcp90: Reset width value in basic_istream class on error.
msvcp90: Added strstreambuf seekpos and seekoff implementation.
msvcp90: Added missing -ret64 option.
msvcp100: Copy source files from msvcp90.
msvcp100: Fixed streamoff and streamsize definition.
msvcp100: Fixed basic_streambuf virtual functions table.
msvcp100: Fixed ctype class virtual functions table...
2015 Jun 12
0
Wine release 1.7.45
...fer getters.
msvcirt: Add implementation of streambuf::unbuffered.
msvcirt: Add implementation of streambuf locking.
msvcirt: Add implementation of streambuf::gbump/pbump.
msvcirt: Add implementation of streambuf::sync.
msvcirt: Add implementation of streambuf::seekoff/seekpos.
msvcirt: Add implementation of streambuf::in_avail/out_waiting.
msvcirt/tests: Add more streambuf tests.
msvcirt: Fix implementation of streambuf::sync.
Jacek Caban (7):
jscript: Correctly handle pvarResult in ParseScriptText.
jscript: Added beginning support for ...