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