Re: [linux-audio-dev] bytesex (and dynamic loading reference)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] bytesex (and dynamic loading reference)
From: est_AT_hyperreal.org
Date: to elo    26 1999 - 19:45:14 EDT


reactor/CTPmedia discourseth:
[Charset iso-8859-2 unsupported, filtering to ASCII...]
> yo!
>
> what should we do about bytesex? i want my program to run on every machine
> that has linux, not just on lousy 80x86s.

glib is *full* of bytesex stuff..including swapping routines with
architecture-conditional speed-ups.

> a dude on irc said i should store my data in network format, using the
> system calls ntohl, ntohs, htonl, htons.

glib provides versions of these. I think network order is important
mostly when transmitting data over a network..in which case, it should
be used. What irc channels/servers do you frequent?

> ps: glib is cool, so we should use it as a standard base for lotsa stuff.

In my paid work I need to support code on *lots* of unixes. glib has
proven quite robust. Only today have I started to realize how useful
it can be for audio routines as well. :)

Also, you were asking about dynamic loading. See the dlopen(),
dlsym(), etc man pages.

Eric


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:25:53 EST