A Merry Christmas to all!
----- Original Message -----
From: "Paul F. Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 24, 1999 12:24 AM
Subject: [MP3 ENCODER] Problem in porting MPG123
> I'm trying to port mpg123 to the RISC OS platform but have found a very
> horrid problem which means I can't compile. It's in the file xfermem. In
> the first struct. Under int wakeme[2] is the line byte *data.
>
> Could anyone tell me what sort of variable type byte is?
Should be 8 bits, unsigned, i.e. unsigned char almost everywhere. :)
> I've added a line prior to struct definition typedef-ing byte as an
> unsigned char
Should work...
> Also, does anyone know where mmap() is? I can't find it in the current
> distribution?
mmap is a Unix (Posix?) system call, for mapping a file into memory. If
mpg123 uses it, and RISC OS doesn't have something equivalent, porting could
be tricky...
-- Mat.
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )