-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, 5. Februar 2004 17:49 schrieb Jaroslav Kysela:
> > Could you point me to a good idea of implementing this ? On irc I was
> > discussing doing a libc wrapper that replaces the fopen calls with some
> > substitute (that aoss can handle), but I'm not sure if its the way to go.
> >
> > Please tell me how it can be achieved.
>
> The whole libaoss is based on glibc wrappers (open, close, ioctl, write,
> read, mmap) so follow this rule ;-)

Right, 

I have done some looking at source code, and have found the places I needed to 
find (in alsa-oss.c). 
Two questions:
(1) Is my assumtion right, that I will have to write substitute functions for 
fopen(), fclose(), fread() and fwrite() ?

(2) My current approach is to "translate" the f* calls into calls that can be 
handled already. Is this a good idea ?

Peter
- -- 
A critic is a bundle of biases held loosely together by a sense of taste.
                -- Whitney Balliett
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAI3pJg2ieGvTmHiURAhCoAKCbo0VxbUDm85MBiR9ZpqX3HhDUxgCdFya4
+2bewyW36EcCJksr9jpWsOY=
=1X1j
-----END PGP SIGNATURE-----



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to