Commit graph

323 commits

Author SHA1 Message Date
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
Linus Nielsen Feltzing
4242a34ad6 Patch #961687 by Eric Lassauge, MP3 playback using libmad in the X11 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4849 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 10:12:39 +00:00
Linus Nielsen Feltzing
012c541d80 Don't create a Xing header if nothing has been recorded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4838 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 06:32:38 +00:00
Linus Nielsen Feltzing
9bcc351dd2 Ooops! I wrote garbage to the MAS when stopping the recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4724 a1c6a512-1295-4272-9138-f99709370657
2004-06-09 11:01:22 +00:00
Linus Nielsen Feltzing
313f67651f We now put ID3v2.3 tags in the recorded files instead of ID3v2.4, because some auido editing tools can't handle ID3v2.4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4720 a1c6a512-1295-4272-9138-f99709370657
2004-06-04 11:49:15 +00:00
Linus Nielsen Feltzing
ccd589746a Removed unused variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4718 a1c6a512-1295-4272-9138-f99709370657
2004-06-04 10:45:38 +00:00
Linus Nielsen Feltzing
ce3482cbf5 The MAS3587F data sheet was wrong about having to validate the pause bit setting by writing to d0:7f1. When I removed the validation, the MAS doesn't give us corrupt frames when pausing, or at the end of the recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4717 a1c6a512-1295-4272-9138-f99709370657
2004-06-04 10:40:26 +00:00
Linus Nielsen Feltzing
f487ebe376 The Play button now acts as a Pause button during recording instead of opening a new file. The new-file feature is moved to the F3 button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4715 a1c6a512-1295-4272-9138-f99709370657
2004-06-03 12:10:40 +00:00
Jörg Hohensohn
30c338a4c1 Prevent spurious bitswapping of the mp3 buffer: stop_playing() now calls reset_mp3_buffer() and so makes sure the bitswap ends. (This was the reason for the failing voice UI after playback!) I also removed a few lines of redundant code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4597 a1c6a512-1295-4272-9138-f99709370657
2004-05-09 09:36:58 +00:00