[sdlsound] SNDDBG

Corona688 tsm at accesscomm.ca
Fri Aug 23 10:16:09 EDT 2002

"Ryan C. Gordon" wrote:

> > SNDDBG("Number %d Float %f" Arg(some_int) Arg(some_float));
> >
> > Yup, no commas between the strings and Args.  That's the only odd thing
> > about it.
> Ugh...Not to be contrary, but I like that less than the double parentheses
> (which I also dislike).
> Someone was telling we that, for PhysicsFS, they were thinking of making
> stdout dump to a TCP socket, so they wouldn't need a serial connection to
> run the stdio-based test program. This person has a wireless card in their
> iPaq, which would make that very convenient...Dunno if he got anywhere
> with it, never saw a patch, but I thought it was a cool idea.
> --ryan.

Fair enough..  only other way to get rid of the double parentheses is to write
our own printf-equivalent, tho...  possible with vfprintf.  I'll look into it.

Dumping to TCP would also be cool.  ^^  Tho I don't have wireless on my iPaq -
yet.  ;)

More information about the sdlsound mailing list