summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
AgeCommit message (Collapse)Author
2005-08-21Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still ↵Linus Nielsen Feltzing
not 100% complete, but I wanted to commit it before the 2.5 feature freeze git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7380 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Hooked up the runtime database on archos.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7376 a1c6a512-1295-4272-9138-f99709370657
2005-08-19More mpeg.c cleanup: collected variables and declarations at the top, more ↵Jens Arnold
#if/#ifdef fixup. Cut a bit of binary size by making debug_tags() an empty define for ordinary builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7359 a1c6a512-1295-4272-9138-f99709370657
2005-08-19Cleaned up remnants of early iriver development. First part of #if/#ifdef ↵Jens Arnold
cleanup,adjusted comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7355 a1c6a512-1295-4272-9138-f99709370657
2005-08-18Use the provided function to calculate the unsaved space in rec_tick().Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7344 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Fixed skip bug at buffer refillHenrik Backe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7064 a1c6a512-1295-4272-9138-f99709370657
2005-07-07Only update resume info when playing. Fixes resume when exiting ↵Hardeep Sidhu
recording/radio screens. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7056 a1c6a512-1295-4272-9138-f99709370657
2005-07-04Moved resume info updating to the mpeg/playback threads so that it's saved ↵Hardeep Sidhu
even when not in the WPS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7018 a1c6a512-1295-4272-9138-f99709370657
2005-07-01Don't update playlist when no tracks in memory. Fixes looping bug when ↵Hardeep Sidhu
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-01Added new feature to move to next folder once the current one completes when ↵Hardeep Sidhu
playing directories git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6963 a1c6a512-1295-4272-9138-f99709370657
2005-06-25Added new shuffle repeat mode that reshuffles playlist before repeating. ↵Hardeep Sidhu
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-05First audio codec playback attempt by Miikka PekkarinenLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-04Major recording rework: (1) Slight optimisation of the recording transfer. ↵Jens Arnold
(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-05-28Avoid radio interference from the MAS internal clock on devices with the ↵Jens Arnold
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-27Some small fixes for playback: (1) Always fill up to the high watermark. (2) ↵Jens Arnold
A bit more robust id3v1 skipping. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6529 a1c6a512-1295-4272-9138-f99709370657
2005-05-23Archos recorders: New recording data transfer routine. Not asm optimised ↵Jens Arnold
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-08Removed unused variable.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6445 a1c6a512-1295-4272-9138-f99709370657
2005-05-08Disabled unused constants.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6431 a1c6a512-1295-4272-9138-f99709370657
2005-05-08More dead code...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6430 a1c6a512-1295-4272-9138-f99709370657
2005-04-07First step towards separating the metadata handling from the mpeg thread codeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6262 a1c6a512-1295-4272-9138-f99709370657
2005-04-05mp3buf renamed to audiobufLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-04More audio code restructuring, mostly renaming functions so farLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-01Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-02-28Killed a warning on iRiver buildsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6079 a1c6a512-1295-4272-9138-f99709370657
2005-02-22Build cleanup and general fixes. fprintf() is now fdprintf(), the separationDaniel Stenberg
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-18Unified build system to use SOURCES for sim builds too, a single Makefile-lookDaniel Stenberg
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-12iRiver: Fixed bad handling of SYS_USB_CONNECTED (again)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5925 a1c6a512-1295-4272-9138-f99709370657
2005-02-11long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5914 a1c6a512-1295-4272-9138-f99709370657
2005-02-11iRiver: mpeg_thread now correctly responds to SYS_USB_DISCONNECTLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5911 a1c6a512-1295-4272-9138-f99709370657
2005-02-10iRiver: USB supportLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5892 a1c6a512-1295-4272-9138-f99709370657
2005-02-06Handle MPEG_STOP in the dummy iriver mpeg threadLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5812 a1c6a512-1295-4272-9138-f99709370657
2005-02-06Aligned thread stack, added dummy thread loop for iriverLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5804 a1c6a512-1295-4272-9138-f99709370657
2005-02-03less warnings on iriver buildsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5761 a1c6a512-1295-4272-9138-f99709370657
2005-02-03Bug fix: Dummy functions are only for units without any mas.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5755 a1c6a512-1295-4272-9138-f99709370657
2005-02-02a set of dummies for iriverDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5752 a1c6a512-1295-4272-9138-f99709370657
2005-01-30long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5713 a1c6a512-1295-4272-9138-f99709370657
2005-01-09Use the register shadow variable in all places.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5539 a1c6a512-1295-4272-9138-f99709370657
2004-12-24different kind of recording beep: more faint, but not disturbing ↵Jörg Hohensohn
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-21aid for blind recorders: longer beep when starting a recording, short beep ↵Jörg Hohensohn
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-11-17Simplified ID3 tag handling, removing the nasty NULL pointer accesses. ↵Linus Nielsen Feltzing
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-15Handle invalid playlist entries properly in new_file(). This fixes bug ↵Linus Nielsen Feltzing
report #1060759 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5410 a1c6a512-1295-4272-9138-f99709370657
2004-11-05new_file() now correctly bails out if all files in the playlist are corrupt. ↵Linus Nielsen Feltzing
This fixes bug report #1060753. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5383 a1c6a512-1295-4272-9138-f99709370657
2004-10-25Update pause_start_time when creating new files. Fixes bug report #988839.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5342 a1c6a512-1295-4272-9138-f99709370657
2004-10-11Stepping backwards over non-existing files now works. Thanks to Christian ↵Linus Nielsen Feltzing
Marg for pinpointing the problem. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5249 a1c6a512-1295-4272-9138-f99709370657
2004-10-09Limit read chunk size for MMC to 256 KB. Fixes playback problems for ↵Jens Arnold
high-bitrate files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5235 a1c6a512-1295-4272-9138-f99709370657
2004-10-06Removed erroneous comment.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5181 a1c6a512-1295-4272-9138-f99709370657
2004-09-29Added MAS3539F support (Ondio SP)Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
2004-09-28a hell of a commit: changed several HAVE_xx configuration flags into ↵Jörg Hohensohn
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-26Added header file for bitswap, and made the fliptable global for re-useJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5120 a1c6a512-1295-4272-9138-f99709370657
2004-08-23Bug fix: recording does no longer hang after 30 bytes (especially when ↵Jens Arnold
running from ROM) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5009 a1c6a512-1295-4272-9138-f99709370657