summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c (follow)
Commit message (Collapse)AuthorAge
* Use the register shadow variable in all places.Jens Arnold2005-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5539 a1c6a512-1295-4272-9138-f99709370657
* different kind of recording beep: more faint, but not disturbing ↵Jörg Hohensohn2004-12-24
| | | | | | 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
* aid for blind recorders: longer beep when starting a recording, short beep ↵Jörg Hohensohn2004-12-21
| | | | | | 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
* Simplified ID3 tag handling, removing the nasty NULL pointer accesses. ↵Linus Nielsen Feltzing2004-11-17
| | | | | | Correct handling of missing/corrupt tracks in playlists. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5416 a1c6a512-1295-4272-9138-f99709370657
* Handle invalid playlist entries properly in new_file(). This fixes bug ↵Linus Nielsen Feltzing2004-11-15
| | | | | | report #1060759 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5410 a1c6a512-1295-4272-9138-f99709370657
* new_file() now correctly bails out if all files in the playlist are corrupt. ↵Linus Nielsen Feltzing2004-11-05
| | | | | | This fixes bug report #1060753. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5383 a1c6a512-1295-4272-9138-f99709370657
* Update pause_start_time when creating new files. Fixes bug report #988839.Linus Nielsen Feltzing2004-10-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5342 a1c6a512-1295-4272-9138-f99709370657
* Stepping backwards over non-existing files now works. Thanks to Christian ↵Linus Nielsen Feltzing2004-10-11
| | | | | | Marg for pinpointing the problem. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5249 a1c6a512-1295-4272-9138-f99709370657
* Limit read chunk size for MMC to 256 KB. Fixes playback problems for ↵Jens Arnold2004-10-09
| | | | | | high-bitrate files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5235 a1c6a512-1295-4272-9138-f99709370657
* Removed erroneous comment.Björn Stenberg2004-10-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5181 a1c6a512-1295-4272-9138-f99709370657
* Added MAS3539F support (Ondio SP)Jens Arnold2004-09-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
* a hell of a commit: changed several HAVE_xx configuration flags into ↵Jörg Hohensohn2004-09-28
| | | | | | multiple choice values (keypad, tuner, CPU, h/w codec) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
* Added header file for bitswap, and made the fliptable global for re-useJens Arnold2004-09-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5120 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: recording does no longer hang after 30 bytes (especially when ↵Jens Arnold2004-08-23
| | | | | | running from ROM) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5009 a1c6a512-1295-4272-9138-f99709370657
* Const policed pointer arguments to functions, part 1Jens Arnold2004-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
* Corrected MAS version checksJens Arnold2004-08-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4989 a1c6a512-1295-4272-9138-f99709370657
* More const policeing step 4Jens Arnold2004-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
* Two new exported functions: mpeg_get_last_header() and mpeg_file_pos()Linus Nielsen Feltzing2004-07-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4973 a1c6a512-1295-4272-9138-f99709370657
* Added possibility to select the priority of the ID3 tagsLinus Nielsen Feltzing2004-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4962 a1c6a512-1295-4272-9138-f99709370657
* Patch #961687 by Eric Lassauge, MP3 playback using libmad in the X11 simulatorLinus Nielsen Feltzing2004-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4849 a1c6a512-1295-4272-9138-f99709370657
* Don't create a Xing header if nothing has been recordedLinus Nielsen Feltzing2004-07-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4838 a1c6a512-1295-4272-9138-f99709370657
* Ooops! I wrote garbage to the MAS when stopping the recording.Linus Nielsen Feltzing2004-06-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4724 a1c6a512-1295-4272-9138-f99709370657
* We now put ID3v2.3 tags in the recorded files instead of ID3v2.4, because ↵Linus Nielsen Feltzing2004-06-04
| | | | | | some auido editing tools can't handle ID3v2.4 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4720 a1c6a512-1295-4272-9138-f99709370657
* Removed unused variablesLinus Nielsen Feltzing2004-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4718 a1c6a512-1295-4272-9138-f99709370657
* The MAS3587F data sheet was wrong about having to validate the pause bit ↵Linus Nielsen Feltzing2004-06-04
| | | | | | 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
* The Play button now acts as a Pause button during recording instead of ↵Linus Nielsen Feltzing2004-06-03
| | | | | | 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
* Prevent spurious bitswapping of the mp3 buffer: stop_playing() now calls ↵Jörg Hohensohn2004-05-09
| | | | | | 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
* Unified & assembler optimized recording transfer routines: Smaller & 50% fasterJens Arnold2004-05-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4576 a1c6a512-1295-4272-9138-f99709370657
* Removed some debugging code that shouldn't have been committedLinus Nielsen Feltzing2004-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4533 a1c6a512-1295-4272-9138-f99709370657
* Fixed bug #932467, where there could be a deadlock if you pause the playback ↵Linus Nielsen Feltzing2004-04-09
| | | | | | before the initial bitswapping is done git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4482 a1c6a512-1295-4272-9138-f99709370657
* Some bug fixes in the recording code. The recorded frames weren't CRC ↵Linus Nielsen Feltzing2004-04-01
| | | | | | protected as intended, and the first frame could be incomplete. Also reduced the I2C communication by shadowing the MAS registers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4462 a1c6a512-1295-4272-9138-f99709370657
* Fixed the prerecording as wellLinus Nielsen Feltzing2004-03-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4453 a1c6a512-1295-4272-9138-f99709370657
* Fixed the problem when high quality recordings could start with a corrupt frameLinus Nielsen Feltzing2004-03-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4452 a1c6a512-1295-4272-9138-f99709370657
* Third step of the voice-UI: numerical settings are spoken (composed at ↵Jörg Hohensohn2004-03-19
| | | | | | runtime), needs new voicefont at the new location ".rockbox/langs/english.voice" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
* killed an overlooked warningJörg Hohensohn2004-03-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4382 a1c6a512-1295-4272-9138-f99709370657
* First step of the voice-UI: the menus can talk. You need a "voicefont" file ↵Jörg Hohensohn2004-03-14
| | | | | | in .rockbox to use this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
* Feature for recording: Delayed file open avoids disk spinup as long as the ↵Jörg Hohensohn2004-03-11
| | | | | | buffer lasts. So for short clips the internal mic can be used without disturbance. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4367 a1c6a512-1295-4272-9138-f99709370657
* Added mpeg_next_track(), which returns a pointer to the id3 struct of theDaniel Stenberg2004-01-15
| | | | | | | | | | upcoming song (if available). Now we just need a WPS patch to make it possibly to display info based on this! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4240 a1c6a512-1295-4272-9138-f99709370657
* mpeg_stop() now clears the paused flag in the simulatorLinus Nielsen Feltzing2004-01-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4224 a1c6a512-1295-4272-9138-f99709370657
* next round of playback function split: everything in place, working and ↵Jörg Hohensohn2004-01-10
| | | | | | used; except for the playtime git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4218 a1c6a512-1295-4272-9138-f99709370657
* Fixed the newly introduced hang when leaving the recording screenLinus Nielsen Feltzing2004-01-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4202 a1c6a512-1295-4272-9138-f99709370657
* typo: one create_thread() too many, caused crashJörg Hohensohn2004-01-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4196 a1c6a512-1295-4272-9138-f99709370657
* fixes the red builds, I hopeJörg Hohensohn2004-01-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4193 a1c6a512-1295-4272-9138-f99709370657
* Moved the low-level playback functionality into a new, separate module ↵Jörg Hohensohn2004-01-05
| | | | | | "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
* New recording feature: Prerecord up to 30 seconds before you press the Play ↵Linus Nielsen Feltzing2003-12-31
| | | | | | key. Especially useful for FM radio recording. Also fixed a bug which didn't apply the recording settings correctly in the Radio screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4183 a1c6a512-1295-4272-9138-f99709370657
* Fixed yellow and red buildsLinus Nielsen Feltzing2003-12-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4182 a1c6a512-1295-4272-9138-f99709370657
* Internal code cleanup - the header template for the Xing header generation ↵Linus Nielsen Feltzing2003-12-28
| | | | | | is read from the MAS instead of from the recorded file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4179 a1c6a512-1295-4272-9138-f99709370657
* restart the byte counter on a new recorded fileDaniel Stenberg2003-12-12
| | | | | | | patch #846899 by Alexander Eickhoff git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4141 a1c6a512-1295-4272-9138-f99709370657
* All platforms don't have USBDaniel Stenberg2003-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4134 a1c6a512-1295-4272-9138-f99709370657
* In simulator thread, increment id3 offset along with elapsed time so that ↵Hardeep Sidhu2003-12-09
| | | | | | resume settings are periodically updated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4120 a1c6a512-1295-4272-9138-f99709370657