Commit graph

143 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
33060d00c2 New version of the DMA underrun handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2547 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 13:25:03 +00:00
Linus Nielsen Feltzing
26e7ec4787 Buffer underrun handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2544 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 09:15:28 +00:00
Uwe Freese
ee7a8889af returned avc value was always 0 (auto volume in cfg wasn't working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2537 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 20:28:08 +00:00
Linus Nielsen Feltzing
6f62bc2769 Removed warning on debug builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2530 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 12:18:12 +00:00
Linus Nielsen Feltzing
6ce6d468dd Removed some more rounding of addresses
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2520 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 08:02:58 +00:00
Linus Nielsen Feltzing
03c13a1a3b Back to byte-aligned bitswapping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2519 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 07:43:52 +00:00
Hardeep Sidhu
c53859388f When ffw/rew, correctly handle case where mpeg_file < 0 (eg. when playing last song of playlist with repeat off)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2505 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 16:39:02 +00:00
Björn Stenberg
a6d0abb602 Repeat off/all/one toggle. By Hardeep Sidhu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2498 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 08:48:20 +00:00
Linus Nielsen Feltzing
35913c717c mpeg_phys2val() scaled the volume incorrectly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2496 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 07:42:13 +00:00
Linus Nielsen Feltzing
cd517cc3a2 Sim warning removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2490 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 12:07:17 +00:00
Robert Hak
2379f0b449 minor edits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2488 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 09:52:30 +00:00
Robert Hak
0478236611 volume now increments by 1 not 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2487 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 09:40:19 +00:00
Linus Nielsen Feltzing
40ffbb1a89 Resetting settings in the menu now applies the settings as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2486 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 09:31:01 +00:00
Hardeep Sidhu
67f95ecb28 Make sure the buffer data has been swapped before resuming after ffw.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2483 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 07:28:28 +00:00
Björn Stenberg
0e6088fc9c Changed .eq file format to simple 'setting: value' model.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2478 a1c6a512-1295-4272-9138-f99709370657
2002-10-02 16:33:26 +00:00
Linus Nielsen Feltzing
f077710b86 New mpeg_status() function replaces mpeg_is_playing()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2379 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 07:49:16 +00:00
Linus Nielsen Feltzing
b3bb076085 Another strike in the battle against glitches between tracks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2325 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 13:51:08 +00:00
Eric Linenberg
8d47c5c329 Philipp's fix .eq loading patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2318 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 12:48:56 +00:00
Hardeep Sidhu
aa287bb8cc 1. Update the playlist index when starting the list (fixes invalid track num when playing from directory). 2. Estimate new position when ffw/rew VBR file with no TOC (eg. tracks recorded with AJBR).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2308 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:04:43 +00:00
Linus Nielsen Feltzing
2bd519d7b7 Removing the ID3V1 tag could give a negative len variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2299 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 13:31:17 +00:00
Björn Stenberg
8ce651efa0 Added pitch setting screen for recorders. Hold ON in wps to see it. Pitch range is 50-200%
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2290 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 13:14:06 +00:00
Linus Nielsen Feltzing
4ede925c8d mpeg_set_pitch() was backwards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2289 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 09:26:14 +00:00
Linus Nielsen Feltzing
5ed78ea80c Pitch control for Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2267 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 12:25:44 +00:00
Hardeep Sidhu
62bec9e0d2 Flush and reload preloaded tracks if playlist changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2259 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:50:40 +00:00
Linus Nielsen Feltzing
73f6abebc0 Fixed sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2246 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 16:43:25 +00:00
Linus Nielsen Feltzing
a5e69062ba Mono right had the wrong level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2244 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:23:12 +00:00
Linus Nielsen Feltzing
b10989830c Added channel configuration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2243 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:13:33 +00:00
Hardeep Sidhu
98cb63629b Fixed ff/rew new position calculation to handle large seek positions and files. This should remove any restrictions on CBR files. VBR files can now seek to ~12 hours (TODO: remove this limit). Also fixed small bug in elapsed time calculation after resume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2073 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 07:07:57 +00:00
Björn Stenberg
924b5313ac Simulators want is_playing too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2065 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:32:57 +00:00
Hardeep Sidhu
a6000f991a Don't set last_dma_tick in swap_data when song is paused. This should fix the bad time display when selecting resume after previous.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2062 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 16:23:11 +00:00
Linus Nielsen Feltzing
4cdd538f06 Changed the poll timer from 2ms to 1ms
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2049 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 10:08:45 +00:00
Linus Nielsen Feltzing
cfbdf142bc More error handling, handles empty MP3 files now. Part 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2031 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:50:19 +00:00
Linus Nielsen Feltzing
606b0f545d More error handling, handles empty MP3 files now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2030 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:43:49 +00:00
Linus Nielsen Feltzing
030b6bf4d4 Even still more simulator fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2028 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:03:43 +00:00
Linus Nielsen Feltzing
94b8f284d0 Even more simulator fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2027 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:56:42 +00:00
Linus Nielsen Feltzing
97bead39e4 Simulator fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2026 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:54:01 +00:00
Linus Nielsen Feltzing
ccfef0480b First attempt to use the new playlist API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2024 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:21:32 +00:00
Mats Lidell
d25cd8246d Update id3->index when changing song in simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2005 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 14:08:50 +00:00
Hardeep Sidhu
441f48f7c7 Fixed elapsed time display after resume for large VBR files. Also, update elapsed time earlier after ffw/rew to try and avoid the time display jump. Finally, skip the id3v2 tag after rew.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1992 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 07:19:25 +00:00
Hardeep Sidhu
f9914b77d4 Don't seek in buffer if data is being loaded. This fixes the track silence when ffw/rew while data is being loaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1973 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:30:31 +00:00
Hardeep Sidhu
c674415a16 Make sure there is sufficient data in buffer before resuming after ffw.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1970 a1c6a512-1295-4272-9138-f99709370657
2002-08-25 05:11:25 +00:00
Daniel Stenberg
57392acd18 the simulator code now deals better with playlist_next() returning NULL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1941 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 07:56:36 +00:00
Hardeep Sidhu
e255798f44 Fixed a flaw in the ffw/rew logic for large vbr files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1939 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 06:36:32 +00:00
Hardeep Sidhu
754651efdd Reset mp3buf_swapwrite when selecting next track that is already in buffer. This should fix the track silence bug. Also, when seeking to end of file, leave some bytes at the end so that the transition to the next track is done correctly. This should fix the few seconds repeat at beginning of next song.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1934 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 23:01:25 +00:00
Daniel Stenberg
22633d66a2 Check the return code from each call to mp3info(), as it might return true
to indicate a bad mp3 file.

TODO: when having a dir full of zero-byte mp3 files and pressing play on
one using the simulator, this'll go crazy.

TO CHECK: I haven't checked how the live target code behaves on this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1922 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:58:18 +00:00
Björn Stenberg
0c2e9f21e3 Stays in pause mode after seek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1896 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:38:56 +00:00
Björn Stenberg
82e8b0becb Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1830 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 21:28:31 +00:00
Björn Stenberg
3a9e7b5f13 Now updates time display after resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1829 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:38:50 +00:00
Linus Nielsen Feltzing
bfc8d0ac44 Faster, 8-bit bitswap by Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1819 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:22:11 +00:00
Björn Stenberg
34486b7860 Merged Hardeep's resume fix. Also mpeg_is_playing() now returns true even when paused (broke some other code).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1798 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 11:00:29 +00:00