[PD-dev] [ pure-data-Patches-1638701 ] 2GB limit for reading!
SourceForge.net
noreply at sourceforge.net
Thu Jan 18 21:03:57 CET 2007
Patches item #1638701, was opened at 2007-01-18 16:15
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1638701&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: 2GB limit for reading!
Initial Comment:
my patch [1312885] fixed the problem with writing files with [writesf~] which are larger than 2GB.
however, this does not work for reading soundfiles, since open_via_path() uses the non-largefile functions read() and fstat().
this patch (against current CVS 18.01.2006) for s_path.c allows to open huge files via open_via_path(), and therefore large files can be played back via [readsf~].
again, this only works on *nix's.
----------------------------------------------------------------------
>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-01-18 21:03
Message:
Logged In: YES
user_id=564396
Originator: YES
there is also a problem with the "skipframes" option, since pd uses "int"
as return value from lseek() (and lseek64()), which is not recommended.
it should be (off_t) and (__off64_t) resp.
however there might be even more problems involved.
i'll have to investigate...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1638701&group_id=55736
More information about the Pd-dev
mailing list