Commit graph

331 commits

Author SHA1 Message Date
Henrik Backe
a670e341cc Fixed skip bug at buffer refill
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7064 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 09:55:22 +00:00
Hardeep Sidhu
81b32e0931 Only update resume info when playing. Fixes resume when exiting recording/radio screens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7056 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 16:57:10 +00:00
Hardeep Sidhu
839dbcaed7 Moved resume info updating to the mpeg/playback threads so that it's saved even when not in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7018 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:50:57 +00:00
Hardeep Sidhu
c8ce78aa90 Don't update playlist when no tracks in memory. Fixes looping bug when repeat shuffle is enabled in a directory that contains only invalid tracks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6964 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 12:06:30 +00:00
Hardeep Sidhu
71d2281d8b Added new feature to move to next folder once the current one completes when playing directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6963 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 11:25:16 +00:00
Hardeep Sidhu
74d082c038 Added new shuffle repeat mode that reshuffles playlist before repeating. Also added new shuffled insert mode that randomly inserts selected track(s) somewhere between current track and end of playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6861 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 04:46:25 +00:00
Linus Nielsen Feltzing
1c497e6045 First audio codec playback attempt by Miikka Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:05:10 +00:00
Jens Arnold
e03f40284e Major recording rework: (1) Slight optimisation of the recording transfer. (2) Rework of the recording event loop: (a) When starting a recording, wait a bit longer before grabbing a header, increasing the chance that we get a valid one. (b) Bugfix: Always flush the whole buffer when it gets above the watermark. (c) Save in chunks for lower latency (1MB on 8MB-modded boxes, and 256KB on Ondio). (d) Hierarchical scheme of reasons to save data: stop_recording beats new_file, and new_file beats buffer_full. (e) Saving is done in one location. Decreased code size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6560 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 11:29:39 +00:00
Jens Arnold
7a977b833f Avoid radio interference from the MAS internal clock on devices with the Samsung tuner (FM recorder, old Ondio FM) by slightly shifting it away when necessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6531 a1c6a512-1295-4272-9138-f99709370657
2005-05-28 01:09:19 +00:00
Jens Arnold
ef32881e96 Some small fixes for playback: (1) Always fill up to the high watermark. (2) A bit more robust id3v1 skipping.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6529 a1c6a512-1295-4272-9138-f99709370657
2005-05-27 21:46:44 +00:00
Jens Arnold
ff3add9f20 Archos recorders: New recording data transfer routine. Not asm optimised this time, but it should lower the possibility of broken recordings a little.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6511 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 18:56:15 +00:00
Jens Arnold
bbf73dfaa7 Removed unused variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6445 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 22:44:26 +00:00
Jens Arnold
a559cf2e39 Disabled unused constants.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6431 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 13:41:24 +00:00
Jens Arnold
642ac35940 More dead code...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6430 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 13:24:30 +00:00
Linus Nielsen Feltzing
5f8241aa44 First step towards separating the metadata handling from the mpeg thread code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6262 a1c6a512-1295-4272-9138-f99709370657
2005-04-07 22:28:26 +00:00
Linus Nielsen Feltzing
d34865a530 mp3buf renamed to audiobuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Linus Nielsen Feltzing
a5fbdbb73f Killed a warning on iRiver builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6079 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 09:04:59 +00:00
Daniel Stenberg
22b7701fe7 Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
between uisimulator files and firmware/apps files are better done.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Daniel Stenberg
cdde25b597 Unified build system to use SOURCES for sim builds too, a single Makefile-look
made by configure and various related adjustments. This has not yet been tested
on cygwin.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Linus Nielsen Feltzing
661b981387 iRiver: Fixed bad handling of SYS_USB_CONNECTED (again)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5925 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 00:32:48 +00:00
Jean-Philippe Bernardy
2860c5e70a long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5914 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 18:41:40 +00:00
Linus Nielsen Feltzing
3cac79e68f iRiver: mpeg_thread now correctly responds to SYS_USB_DISCONNECT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5911 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 14:34:12 +00:00
Linus Nielsen Feltzing
aa2989f4d2 iRiver: USB support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5892 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 23:20:34 +00:00
Linus Nielsen Feltzing
34155c176b Handle MPEG_STOP in the dummy iriver mpeg thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5812 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 04:04:49 +00:00
Linus Nielsen Feltzing
04978b9a88 Aligned thread stack, added dummy thread loop for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5804 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 02:43:11 +00:00
Daniel Stenberg
e81fb19dfc less warnings on iriver builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5761 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 10:07:11 +00:00
Jens Arnold
5737019e85 Bug fix: Dummy functions are only for units without any mas.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5755 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 00:50:00 +00:00
Daniel Stenberg
301f53f93b a set of dummies for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5752 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 22:04:15 +00:00
Jean-Philippe Bernardy
3f65c3f42f long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5713 a1c6a512-1295-4272-9138-f99709370657
2005-01-30 14:33:33 +00:00
Jens Arnold
e1a1926f46 Use the register shadow variable in all places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5539 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 00:58:59 +00:00
Jörg Hohensohn
dfa95c334b different kind of recording beep: more faint, but not disturbing prerecording, can beep while we already record (no latency due to beep)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5511 a1c6a512-1295-4272-9138-f99709370657
2004-12-24 08:42:45 +00:00
Jörg Hohensohn
3bf321ff1c aid for blind recorders: longer beep when starting a recording, short beep when resuming it (you may disable the voice UI to get rid of it)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5502 a1c6a512-1295-4272-9138-f99709370657
2004-12-21 23:49:43 +00:00
Linus Nielsen Feltzing
34145af486 Simplified ID3 tag handling, removing the nasty NULL pointer accesses. Correct handling of missing/corrupt tracks in playlists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5416 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 12:42:43 +00:00
Linus Nielsen Feltzing
685aeb5d7d Handle invalid playlist entries properly in new_file(). This fixes bug report #1060759
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5410 a1c6a512-1295-4272-9138-f99709370657
2004-11-15 00:34:19 +00:00
Linus Nielsen Feltzing
319d5f7101 new_file() now correctly bails out if all files in the playlist are corrupt. This fixes bug report #1060753.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5383 a1c6a512-1295-4272-9138-f99709370657
2004-11-05 07:43:39 +00:00
Linus Nielsen Feltzing
2df45f784f Update pause_start_time when creating new files. Fixes bug report #988839.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5342 a1c6a512-1295-4272-9138-f99709370657
2004-10-25 12:04:45 +00:00
Linus Nielsen Feltzing
72d2535a49 Stepping backwards over non-existing files now works. Thanks to Christian Marg for pinpointing the problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5249 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 07:55:45 +00:00
Jens Arnold
5ae37f0ddb Limit read chunk size for MMC to 256 KB. Fixes playback problems for high-bitrate files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5235 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 12:42:56 +00:00
Björn Stenberg
ebbe0a77ae Removed erroneous comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5181 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 07:14:17 +00:00
Jens Arnold
eaa1f73c6d Added MAS3539F support (Ondio SP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 19:51:41 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Jens Arnold
4341211ddc Added header file for bitswap, and made the fliptable global for re-use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5120 a1c6a512-1295-4272-9138-f99709370657
2004-09-26 09:25:59 +00:00
Jens Arnold
7464fb97e9 Bug fix: recording does no longer hang after 30 bytes (especially when running from ROM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5009 a1c6a512-1295-4272-9138-f99709370657
2004-08-23 23:05:55 +00:00
Jens Arnold
c76c568b35 Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-16 23:37:23 +00:00
Jens Arnold
536dff1a27 Corrected MAS version checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4989 a1c6a512-1295-4272-9138-f99709370657
2004-08-05 17:06:31 +00:00
Jens Arnold
9478cc6f8a More const policeing step 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 19:22:56 +00:00
Linus Nielsen Feltzing
0744c50a38 Two new exported functions: mpeg_get_last_header() and mpeg_file_pos()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4973 a1c6a512-1295-4272-9138-f99709370657
2004-07-29 13:58:16 +00:00
Linus Nielsen Feltzing
f4f4111536 Added possibility to select the priority of the ID3 tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4962 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 14:10:48 +00:00