diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-04-13 12:24:47 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-04-13 12:24:47 +0000 |
| commit | 2bf4178018930b8af6d7082f7dd1a3302e09932b (patch) | |
| tree | 3f6e2177e31f09157fc782d4239b944a6f6d8963 /apps/buffering.c | |
| parent | 4c5a735a023755cedc264a4cad89f1ab0c256e17 (diff) | |
| download | rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.zip rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.tar.gz rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.tar.bz2 rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.tar.xz | |
Make mpegplayer sleep the disk after buffering to save battery. * Add a simulator stub for ata_sleep(), and un-ifdef most calls to it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17096 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.c')
| -rw-r--r-- | apps/buffering.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/buffering.c b/apps/buffering.c index 99a4a3b..f123d8f 100644 --- a/apps/buffering.c +++ b/apps/buffering.c @@ -813,11 +813,9 @@ static bool fill_buffer(void) } else { -#ifndef SIMULATOR /* only spin the disk down if the filling wasn't interrupted by an event arriving in the queue. */ ata_sleep(); -#endif return false; } } |