Mercurial > hg > audiodb
view bindings/pd/pdtest.pd @ 596:6ad0a6e67d4c
Take advantage of those new handy _or_goto_error macros
Use them in various places where previously we either elided the error
checking (various lseek() calls) or used a combination of calls
(replaced by malloc_and_fill_or_goto_error()).
In the process, fix what is probably a bug (or else introduce one, but I
don't think so): audiodb_track_id_datum() computed the offset into the
timesTable wrongly, forgetting to multiply by 2. (TODO: this should be
easily testable using the API).
Now all of LIBOBJS can be produced by my (Debian's) mingw32
cross-compiler, except for lshlib.o.
author | mas01cr |
---|---|
date | Tue, 11 Aug 2009 21:42:49 +0000 |
parents | dabbde72e331 |
children |
line wrap: on
line source
#N canvas 671 210 536 428 10; #X obj 109 270 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 71 305 parameters; #X msg 45 119 set pdtest.adb \, querytype sequence \, features pdtest.chr12 ; #X floatatom 260 251 5 0 0 0 - - -; #X floatatom 314 253 5 0 0 0 - - -; #X floatatom 366 253 5 0 0 0 - - -; #X floatatom 420 259 5 0 0 0 - - -; #X floatatom 477 264 5 0 0 0 - - -; #X obj 303 336 adbpd pdtest.adb; #X msg 204 180 create 50 1000 12; #X connect 0 0 8 0; #X connect 1 0 8 0; #X connect 2 0 8 0; #X connect 3 0 8 1; #X connect 4 0 8 2; #X connect 5 0 8 3; #X connect 6 0 8 4; #X connect 7 0 8 5; #X connect 9 0 8 0; #X coords 0 0 1 1 85 60 0;