diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-08-01 08:50:44 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-08-01 08:50:44 +0000 |
| commit | 0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f (patch) | |
| tree | d84ec59c3b9fc00ce46329c01a66b8da46b0e204 /apps/plugins/video.c | |
| parent | 3b3fd4997ee32cf5b0bc7cf07b3ac9a73cbcb388 (diff) | |
| download | rockbox-0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f.zip rockbox-0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f.tar.gz rockbox-0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f.tar.bz2 rockbox-0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f.tar.xz | |
Disable 'Disk spindown' and 'Anti skip buffer' settings and some related stuff for flash storage targets as they make no sense
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14110 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/video.c')
| -rw-r--r-- | apps/plugins/video.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c index b56a9d0..aca960f 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c @@ -650,8 +650,11 @@ int PlayTick(int fd) * gFileHdr.bps_peak / 8 / HZ; } - if (!gPlay.bRefilling - && rb->global_settings->disk_spindown < 20) /* condition for test only */ + if (!gPlay.bRefilling +#ifndef HAVE_FLASH_STORAGE + && rb->global_settings->disk_spindown < 20 /* condition for test only */ +#endif + ) { rb->ata_sleep(); /* no point in leaving the disk run til timeout */ gPlay.bDiskSleep = true; |