Commit graph

379 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
4851a2a939 The lowest watermark debug info wasn't correctly updated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2941 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:23:12 +00:00
Linus Nielsen Feltzing
f1f7b6150a ...and the usual simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2940 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:16:23 +00:00
Linus Nielsen Feltzing
b8ff5f8971 Added MP3 buffer margin setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2939 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:09:51 +00:00
Linus Nielsen Feltzing
f4233e482d Watermark = average bitrate * 1.5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2938 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 12:38:59 +00:00
Linus Nielsen Feltzing
2df262c23d The low watermark level is now dynamically calculated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2937 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 12:18:22 +00:00
Linus Nielsen Feltzing
8344437de0 Better handling of DMA underrun. Now maybe the stopping audio is history...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2936 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 11:09:52 +00:00
Linus Nielsen Feltzing
62c3ba8204 Fixed a bug that prevented recording if music was playing when entering the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2929 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 00:28:28 +00:00
Linus Nielsen Feltzing
cde27c3909 Even more recording fixes. No more lockups (i hope)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2886 a1c6a512-1295-4272-9138-f99709370657
2002-11-25 20:16:44 +00:00
Linus Nielsen Feltzing
2c0b72f103 Saves battery when monitoring, no longer trashes the first frame, corrected DMA timing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2885 a1c6a512-1295-4272-9138-f99709370657
2002-11-25 00:02:54 +00:00
Linus Nielsen Feltzing
4432d3730d The saving flag wasn't correctly handled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2883 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 22:50:54 +00:00
Linus Nielsen Feltzing
6a24059392 Recording buffer saving mechanism was braindead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2881 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 11:49:17 +00:00
Linus Nielsen Feltzing
c833a816d8 Lots of MAS hacking for better recording results
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2878 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 00:23:49 +00:00
Linus Nielsen Feltzing
6871977d82 Optimized recording interrupt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2873 a1c6a512-1295-4272-9138-f99709370657
2002-11-21 21:38:58 +00:00
Linus Nielsen Feltzing
79c5202e07 Experiment to cure the strange sound wuality problem with Line In recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2871 a1c6a512-1295-4272-9138-f99709370657
2002-11-21 18:57:15 +00:00
Linus Nielsen Feltzing
77d9c7cf84 More MAS voodoo resulting in more stable, maybe even working, recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2867 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 22:23:20 +00:00
Linus Nielsen Feltzing
5e15aeedfc Instantaneous start of recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2865 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 11:47:32 +00:00
Linus Nielsen Feltzing
6100dd099b New filename generation based on date/time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2863 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 00:02:52 +00:00
Linus Nielsen Feltzing
d703389780 More recording stability, plus some feedback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2860 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 21:07:44 +00:00
Linus Nielsen Feltzing
11055c0471 Now sets the correct frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2859 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 16:30:53 +00:00
Linus Nielsen Feltzing
fde9b57f70 Fixed some sim build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2856 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 10:29:38 +00:00
Linus Nielsen Feltzing
0dcd47eb84 Now uses IRQ for DEMAND instead of polling. This should improve the playback performance a lot, for all bitrates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2855 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 09:50:19 +00:00
Linus Nielsen Feltzing
1521a1c38a Slightly more correct saving when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2845 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 23:22:40 +00:00
Linus Nielsen Feltzing
71d346ce81 mpeg_stop() now yields to ensure that the mpeg is stopped when it returns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2843 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 08:43:49 +00:00
Linus Nielsen Feltzing
f844ab207f Correct flags to the open() call when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2832 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 22:43:41 +00:00
Linus Nielsen Feltzing
1e524abd5b Added a timeout debug panic for the recording DMA protocol
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2825 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:24:41 +00:00
Linus Nielsen Feltzing
8e4a0e0aab An attempt to support older recorder models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2817 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 18:24:40 +00:00
Linus Nielsen Feltzing
893095d4ce Added recording functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2815 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 16:37:26 +00:00
Linus Nielsen Feltzing
c5e29938c4 Fast forward near the end of the last song in a playlist didn't activate the DMA if the remaining amount to play was below the watermark
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2754 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 00:00:07 +00:00
Linus Nielsen Feltzing
c41322c591 Better skipping of leading garbage. Fixes bug #625868.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2752 a1c6a512-1295-4272-9138-f99709370657
2002-10-27 23:07:26 +00:00
Björn Stenberg
0834d3f322 Pitch steps changed to 0.1% instead of 1%.
Holding down ON+RIGHT/LEFT increases/decreses pitch 2% while key is held down, then returns.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2718 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 12:05:15 +00:00
Linus Nielsen Feltzing
647db26fe8 Faster start of playback when Play/Next/Prev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2677 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 09:26:03 +00:00
Daniel Stenberg
3aab18a5e8 Prevent the simulator from locking on play in a dir with all-empty files.
This doesn't do quite the same as the real code, but at least it doesn't
loop forever now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2664 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 13:07:32 +00:00
Linus Nielsen Feltzing
5c6ecc8980 Killed a sim warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2634 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:28:57 +00:00
Linus Nielsen Feltzing
bf303de4dd More debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2632 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:23:18 +00:00
Linus Nielsen Feltzing
402502fc6f Swapping is now done without the MPEG_SWAP message. Added some debugging functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2623 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 14:13:13 +00:00
Linus Nielsen Feltzing
56e5d1a0a1 Better handling of bad playlists, and when all tracks fit in memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2550 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 13:47:38 +00:00
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
Björn Stenberg
6224cdb166 Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Linus Nielsen Feltzing
bd7fc37984 No DAC3550A in the recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1774 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 07:16:52 +00:00
Björn Stenberg
749d87bb20 Correction for fast-forward/rewind
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1769 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 16:48:34 +00:00
Linus Nielsen Feltzing
3377e9f302 Killed a simulator warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1748 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 05:44:26 +00:00
Linus Nielsen Feltzing
b3bda03db0 Added Balance setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1744 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 21:30:06 +00:00
Björn Stenberg
095d47ea20 Removed note
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1742 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 19:45:32 +00:00
Björn Stenberg
0570497e3a Added fast forward and rewind (without sound). Patch by Hardeep Sidhu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1741 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 19:23:34 +00:00
Linus Nielsen Feltzing
5407edc5ad Another strike against the evil distortion problem
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1732 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 12:54:38 +00:00
Björn Stenberg
1ec91da5e0 Skip id3v1 tag when loading mp3 data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1730 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 10:30:18 +00:00
Björn Stenberg
66f9bccd47 Skip past id3v2 tag when loading mp3 data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1729 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 10:15:27 +00:00
Linus Nielsen Feltzing
209f1491ec Corrected the PLL values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1727 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 08:03:26 +00:00
Björn Stenberg
ebb14ca5f9 Gained about 128 KB buffer space by removing malloc() and the heap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1726 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 23:13:01 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Björn Stenberg
a99a60c1d3 Added support for next/prev in simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1621 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 17:48:21 +00:00
Björn Stenberg
66b7ade58d Added mpeg_is_playing support for simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1620 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 16:44:20 +00:00
Linus Nielsen Feltzing
fe8a7e7f50 Now handles watermark on MPEG_NEXT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1616 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 14:51:58 +00:00
Björn Stenberg
235d9d2565 Added data loading if NEXT moves below watermark
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1615 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 14:01:40 +00:00
Linus Nielsen Feltzing
a46a5d3ed9 unplayed_space_left was calculated too early in DEI3()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1613 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 13:29:31 +00:00
Björn Stenberg
bcbc7826d5 Fixed bugs in next/prev handling.
Replaced peek_next_track() with playlist_next().


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1610 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 12:02:17 +00:00
Björn Stenberg
445f17eda4 If next track is in ram, don't load from disk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1604 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 22:44:43 +00:00
Linus Nielsen Feltzing
1d21ca9023 Moved bitswap() to internal RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1502 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 08:16:44 +00:00
Linus Nielsen Feltzing
b605b2ec2d The low water handling incorrectly loaded too large chunks at the start of a song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1496 a1c6a512-1295-4272-9138-f99709370657
2002-07-31 06:33:48 +00:00
Linus Nielsen Feltzing
f026f8859a Killed warning on Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1488 a1c6a512-1295-4272-9138-f99709370657
2002-07-29 09:59:49 +00:00
Linus Nielsen Feltzing
f1e9de5d38 Now uses HAVE_MASxxxxx macros instead of RECORDER
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1487 a1c6a512-1295-4272-9138-f99709370657
2002-07-29 09:34:44 +00:00
Linus Nielsen Feltzing
16ec2063a1 Killed a simulator warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1485 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 18:28:29 +00:00
Linus Nielsen Feltzing
fce2a28982 Hopefully fixed distortion and pitch problems on Player versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1478 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 11:46:27 +00:00
Linus Nielsen Feltzing
ab042e6e51 NEXT and PREV now works again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1458 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 00:31:38 +00:00
Linus Nielsen Feltzing
42faf56472 New and improved ID3 and track change handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1455 a1c6a512-1295-4272-9138-f99709370657
2002-07-26 14:32:24 +00:00
Linus Nielsen Feltzing
e5792d6f6c First step towards better ID3 handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1450 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 23:12:41 +00:00
Linus Nielsen Feltzing
d2018ebfc6 Pause time counting fix by Nate Nystrom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1449 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 22:09:12 +00:00
Linus Nielsen Feltzing
d731cdd0db Automatic Volume Control for Recorder by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1447 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 15:55:22 +00:00
Linus Nielsen Feltzing
e4b9dbb9c5 Better track change handling, no memcpy in interrupt context
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1446 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 11:51:11 +00:00
Linus Nielsen Feltzing
4e2384eb07 Second-exact track change detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1444 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 11:12:54 +00:00
Linus Nielsen Feltzing
ccf74d4df7 Second attempt to get rid of the CPUAdr errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1422 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 20:55:09 +00:00
Linus Nielsen Feltzing
80b285cdb3 An attempt to fix the intermittent address error problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1420 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 15:10:31 +00:00
Linus Nielsen Feltzing
e0d88a11d9 Loudness and Superbass patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1400 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:38:02 +00:00
Linus Nielsen Feltzing
54a65f76ce MPEG loading latency patch by Hardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1393 a1c6a512-1295-4272-9138-f99709370657
2002-07-21 07:12:39 +00:00
Linus Nielsen Feltzing
fae77c1894 Higher watermark
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1387 a1c6a512-1295-4272-9138-f99709370657
2002-07-19 22:27:44 +00:00
Linus Nielsen Feltzing
0b89507236 Still better loading algorithm, higher watermark
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1386 a1c6a512-1295-4272-9138-f99709370657
2002-07-19 19:07:13 +00:00
Linus Nielsen Feltzing
4e46ac78ae At last, really short load times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1385 a1c6a512-1295-4272-9138-f99709370657
2002-07-18 21:02:55 +00:00
Björn Stenberg
f952ba7548 Ignore nonexisting files in playlists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1384 a1c6a512-1295-4272-9138-f99709370657
2002-07-18 15:37:41 +00:00
Björn Stenberg
aba3d78801 Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1371 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 12:22:31 +00:00
Björn Stenberg
c4b285027b Faster, deeper disk sleep. Should save us some power.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1370 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 12:18:17 +00:00
Linus Nielsen Feltzing
76b4096be7 Added thread names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1357 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 22:19:49 +00:00
Linus Nielsen Feltzing
aae4fa60ca Removed i2c_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1314 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 21:40:48 +00:00
Linus Nielsen Feltzing
c22940a4ef Fixed simulator compiler errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1292 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 21:22:02 +00:00
Linus Nielsen Feltzing
958025bfd4 Added mpeg_is_playing(), now stops counting time when the last song has stopped
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1288 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 20:11:46 +00:00
Linus Nielsen Feltzing
3c1d26b01a Killed simulator compile errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1285 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 14:17:25 +00:00
Linus Nielsen Feltzing
b81ce1e9a1 Player sound quality improvements by Julien Boissinot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1284 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 12:32:23 +00:00
Linus Nielsen Feltzing
0213d8ada3 Simulated mpeg_play() calls mp3info()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1274 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:23:39 +00:00
Linus Nielsen Feltzing
cb30e5422f Adapted for simulator compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1268 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 14:36:58 +00:00
Linus Nielsen Feltzing
5193368445 Better USB behaviour
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1263 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 13:14:16 +00:00
Linus Nielsen Feltzing
392f3853b1 Added USB insertion handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1259 a1c6a512-1295-4272-9138-f99709370657
2002-06-29 23:01:10 +00:00
Linus Nielsen Feltzing
9f20263222 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1255 a1c6a512-1295-4272-9138-f99709370657
2002-06-29 21:31:38 +00:00
Linus Nielsen Feltzing
eb102e1a23 New defaults for the bass/treble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1252 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 15:17:55 +00:00
Linus Nielsen Feltzing
07b2335157 Tone controls are now in dB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1251 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 15:10:20 +00:00
Linus Nielsen Feltzing
5c0ba529a0 Ooops. I forgot to reset the test values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1247 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 12:47:42 +00:00
Linus Nielsen Feltzing
fd42ceba7b Added mpeg_sound_numdecimals()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1245 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 12:39:47 +00:00
Linus Nielsen Feltzing
a3a51eca66 API change for default sound settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1244 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 11:54:47 +00:00
Linus Nielsen Feltzing
667fb7c6e9 First step towards a better sound setting API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1243 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 11:48:53 +00:00
Björn Stenberg
930880fb80 First crude elapsed-time display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1237 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 17:20:30 +00:00
Björn Stenberg
793b8a4576 Fixed id3 reading for next/prev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1231 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 09:19:12 +00:00
Linus Nielsen Feltzing
9766a1bb79 Changed dac_volume call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1228 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 08:29:45 +00:00
Björn Stenberg
f80d8a704d Moved settings.c/h to apps/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1215 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:20:00 +00:00
Björn Stenberg
a72f95c2ba Added next/previous track
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1211 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 23:25:03 +00:00
Linus Nielsen Feltzing
eac0f29567 Bug 574060 fixed but not verified. S/PDIF is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1209 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 22:03:04 +00:00
Björn Stenberg
a61617f2b2 Added mpeg_next() and mpeg_prev() (Yusef Napora)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1205 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 21:27:17 +00:00
Linus Nielsen Feltzing
26b25488ba Added mas_reset() call, and some error checking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1197 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 12:43:54 +00:00
Björn Stenberg
200d226a7c Fixed id3 array being updated too early
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1194 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 12:05:06 +00:00
Björn Stenberg
593605f8ee Working while-playing-screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1186 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 14:21:06 +00:00
Björn Stenberg
bb9aaf5065 A step towards WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1184 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 13:26:04 +00:00
Linus Nielsen Feltzing
80ed0ce1db Now yields after MPEG_NEED_DATA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1118 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:18:47 +00:00
Linus Nielsen Feltzing
31a5794f5f mas_run() needed some time to startup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1110 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 07:33:23 +00:00
Linus Nielsen Feltzing
8f8ab2759d Stupid TAB chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1088 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 15:17:40 +00:00
Daniel Stenberg
6cd60cc3e3 moved sounds settings to settings.h, config.h is only for including the
correct sub-config.h filea


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1086 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:58:35 +00:00
Linus Nielsen Feltzing
92eadb44c5 Killed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1076 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:47:18 +00:00
Linus Nielsen Feltzing
a124e87f84 Accelerated bit swapping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1075 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:44:32 +00:00
Linus Nielsen Feltzing
c57dbe78fa Added Recorder playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1074 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:08:15 +00:00
Linus Nielsen Feltzing
60ed5ee4a1 MPEG_PLAY now closes mpeg_file if it is open
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1068 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 06:19:00 +00:00
Linus Nielsen Feltzing
5ee0b7e9d9 mpeg_stop now calls close only if the file handle is valid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@930 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:46:12 +00:00
Linus Nielsen Feltzing
ec2ab7e85a Now stops loading from disk when mpeg_stop is called
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@929 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:42:40 +00:00
Daniel Stenberg
6229aa2e6f Added peek_next_track() proto to kill warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@925 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 06:04:31 +00:00
Linus Nielsen Feltzing
d0ecc86032 Now honors the settings in config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@923 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:23:19 +00:00
Linus Nielsen Feltzing
c633ceb93e Temporarily disabled mpeg code on Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@917 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:41:26 +00:00
Linus Nielsen Feltzing
c7e3675457 Added file read error warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@898 a1c6a512-1295-4272-9138-f99709370657
2002-06-05 14:34:05 +00:00
Linus Nielsen Feltzing
0dc44b08f4 The mpeg player could miss the last byte of a song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@887 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 14:00:30 +00:00
Björn Stenberg
0bb897ae8d Keep playing current song even if we can't load next
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@860 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 13:16:50 +00:00
Björn Stenberg
fa8cd2ca86 Check for more files to play
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@855 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 12:12:23 +00:00
Linus Nielsen Feltzing
3a25aa4fd4 Even better end-of-song handling. It might even work now...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@790 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 12:25:21 +00:00
Linus Nielsen Feltzing
f779e26c89 Boosted the volume. Now handles end-of-song better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@786 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 10:26:06 +00:00
Linus Nielsen Feltzing
4886f19810 Optimized the bitswap function a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@770 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 16:11:07 +00:00
Björn Stenberg
3c2607790d Using linker symbols for mp3 buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@697 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:27:55 +00:00
Björn Stenberg
1ac4600e5b First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@695 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 12:22:14 +00:00