Commit graph

193 commits

Author SHA1 Message Date
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