dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: [ rockbox-Bugs-827966 ] Pause causes continuous disk access

Re: [ rockbox-Bugs-827966 ] Pause causes continuous disk access

From: Björn Stenberg <>
Date: Fri, 24 Oct 2003 10:20:41 +0200

Craigh Sather wrote:
> Although the statement "paused = mpeg_status() &
> MPEG_STATUS_PAUSE;" will always yield 0 or 1 when compiled
> for the Archos target, on the simulator such coding could
> cause problems because in uisimulator/win32/stdbool.h we have:
> typedef unsigned int bool;

Does anyone know if there is a good reason why the win32 uisim does this instead of using the proper bool type?

If the code has to cater for int-as-bool everywhere (forcing ugly constructs such as "?true:false"), then much of the elegance of the bool type is erased.

Are there important win32 compilers that don't support C99 bool? If so, should we let those old win32 tools dictate how we write the Rockbox code?

Received on 2003-10-24

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy