summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c (follow)
Commit message (Collapse)AuthorAge
* Moved id3.c, mpeg.c and replaygain.c from firmware/ to apps/. This is the ↵Björn Stenberg2008-10-10
| | | | | | first step in separating the generic metadata code and the id3-specific code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18760 a1c6a512-1295-4272-9138-f99709370657
* add HAVE_DISK_STORAGE, and use that instead of HAVE_FLASH_STORAGE when ↵Frank Gevaerts2008-10-07
| | | | | | checking for an actual disk (i.e. related to spindown, skipping,...) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18735 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Fix red (missing header file)Bertrik Sikken2008-04-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17268 a1c6a512-1295-4272-9138-f99709370657
* Revert my earlier const madness, we'll keep the parameter lists simple.Steve Bavin2008-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16863 a1c6a512-1295-4272-9138-f99709370657
* The const police raid playback.c, should be no change to behaviour.Steve Bavin2008-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16860 a1c6a512-1295-4272-9138-f99709370657
* Do core interrupt masking in a less general fashion and save some ↵Michael Sevakis2008-03-26
| | | | | | instructions to decrease size and speed things up a little bit. Small fix to a few places where interrupts would get enabled again where they shouldn't have been (context switching calls when disabled). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16811 a1c6a512-1295-4272-9138-f99709370657
* Change files to use the public function sleep() and not the intenal kernel ↵Michael Sevakis2008-03-20
| | | | | | function sleep_thread(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16719 a1c6a512-1295-4272-9138-f99709370657
* It makes more sense for the callback registrar to decide if its a "oneshot" ↵Jonathan Gordon2008-03-17
| | | | | | | | | then the callback caller. (Doing it this way means playback could(/should?) registar a disk spinup callback at init which is called every spinup without needing to be reregistered) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16685 a1c6a512-1295-4272-9138-f99709370657
* Implement the playback event handling as a system-wide multi-purpose event ↵Miika Pekkarinen2008-03-16
| | | | | | system. Unified mpeg.c and playback.c audio event handling. Converted ata_idle_notify to use the new event handling system also. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16682 a1c6a512-1295-4272-9138-f99709370657
* make initialisation of buffer/unbuffer call backs consistent with FS#6639Robert Kukla2007-11-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15464 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#8053 by Bertrik Sikken: playback.c and mpeg.c simplification by ↵Nicolas Pennequin2007-10-31
| | | | | | removal of last_track argument in track_(un)buffer callback. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15384 a1c6a512-1295-4272-9138-f99709370657
* Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis2007-10-16
| | | | | | towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
* Remove the ID3 tag version priority setting on the grounds of it being ↵Thom Johansen2007-09-19
| | | | | | pretty pointless. ID3v2 tags are superior to ID3v1 tags, and needs less seeking around to find. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14750 a1c6a512-1295-4272-9138-f99709370657
* FS #6639 - Fixes for Last.fm logging on HWCODEC targets by Boris GjeneroRobert Keevil2007-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14443 a1c6a512-1295-4272-9138-f99709370657
* Disable 'Disk spindown' and 'Anti skip buffer' settings and some related ↵Nils Wallménius2007-08-01
| | | | | | stuff for flash storage targets as they make no sense git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14110 a1c6a512-1295-4272-9138-f99709370657
* A patch by Robert Keevil that's been in the tracker way to long, fixes FS ↵Peter D'Hoye2007-06-24
| | | | | | #6213: Audioscrobbler incorrectly submits last song git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13699 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7264 'Build with -Os switch for coldfire targets'.Nils Wallménius2007-06-13
| | | | | | | | | Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers functions to a plugin to make plugins link correctly when gcc calls mem* functions directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
* Moved SH1 system code to target tree. * First shot at hwcompat cleanup.Jens Arnold2007-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
* Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - ↵Daniel Ankers2007-03-04
| | | | | | iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
* Hook up .cue file detection via a callback klugde on HWCODEC, to make cue ↵Jens Arnold2007-03-01
| | | | | | sheet support actually work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12526 a1c6a512-1295-4272-9138-f99709370657
* fix the player buildJonathan Gordon2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12381 a1c6a512-1295-4272-9138-f99709370657
* Convert queues to use intptr_t for event data and return values as most of ↵Michael Sevakis2006-12-19
| | | | | | the time pointer are not passed and it should make some things a bit cleaner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
* Archos recorders, Ondio FM: Set (unused) MAS SDO and S/PDIF out while ↵Jens Arnold2006-11-06
| | | | | | recording the same way as for playback (SDO disabled, S/PDIF enabled on recorder V1 only). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11456 a1c6a512-1295-4272-9138-f99709370657
* Fixed the errors on the sims.Michael Sevakis2006-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11454 a1c6a512-1295-4272-9138-f99709370657
* Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis2006-11-06
| | | | | | SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
* Patch #6052 - More responsive skip on ArchosLinus Nielsen Feltzing2006-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11273 a1c6a512-1295-4272-9138-f99709370657
* Patch #5166 by Robert Keevil - Last.fm loggingLinus Nielsen Feltzing2006-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657
* New scheduler, with priorities for swcodec platforms. Frequent taskMiika Pekkarinen2006-09-16
| | | | | | | | | | switching should be more efficient and tasks are stored in linked lists to eliminate unnecessary task switching to improve performance. Audio should no longer skip on swcodec targets caused by too CPU hungry UI thread or background threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
* Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with ↵Michael Sevakis2006-08-28
| | | | | | additional FM Recording support and my modifications git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
* Recording buffer offset must be passed on to the firmware calls, not the ↵Peter D'Hoye2006-04-30
| | | | | | other way around. Should fix yellow builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
* More 64bit simulator fixes, coinciding with the long policy this time.Jens Arnold2006-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8890 a1c6a512-1295-4272-9138-f99709370657
* Simulator fixes: id3 string pointers can be null.Magnus Holmgren2005-12-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8282 a1c6a512-1295-4272-9138-f99709370657
* several small fixes sugested by different people (FireFly, Lear, Takka)Marcoen Hirschberg2005-12-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8184 a1c6a512-1295-4272-9138-f99709370657
* waiting is over: initial unicode commitMarcoen Hirschberg2005-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
* Bugfix: Prevent spurious bitswap when switching from recording to playback. ↵Jens Arnold2005-12-04
| | | | | | This caused erratic voice UI behaviour under certain conditions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8148 a1c6a512-1295-4272-9138-f99709370657
* removed set audio status method - will be using different approachAnton Oleynikov2005-11-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7844 a1c6a512-1295-4272-9138-f99709370657
* new function to set audio status (to be used later)Anton Oleynikov2005-11-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7839 a1c6a512-1295-4272-9138-f99709370657
* Removed monitor option from audio_set_recording_options and the global ↵Andy2005-11-12
| | | | | | setting rec_monitor. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7821 a1c6a512-1295-4272-9138-f99709370657
* Fix for broken simulatorsAndy2005-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7819 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Initial support for wav-recording in recording menu. Supports ↵Andy2005-11-12
| | | | | | mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
* Removed tabsHardeep Sidhu2005-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7787 a1c6a512-1295-4272-9138-f99709370657
* If no previous track found, check if we're really at the end of playback or ↵Hardeep Sidhu2005-11-08
| | | | | | if a new playlist is starting. Fixes problem with previous not working with move to next folder feature. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7786 a1c6a512-1295-4272-9138-f99709370657
* Overlooked this one when changing sound_set() calls to the individual functions.Jens Arnold2005-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7778 a1c6a512-1295-4272-9138-f99709370657
* Sound settings rework: * Put all fixed parameters (unit, decimals, step, ↵Jens Arnold2005-11-06
| | | | | | min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
* Archos recording/playback: (1) Xing header creation: * Now estimates the ↵Jens Arnold2005-09-15
| | | | | | framecount from the recording time if the MAS frame counter saturates, so it always writes a valid Xing header. * Reverted my brainless short-xing-header change. This was only valid for layer 3. (2) Xing/VBRI header evaluation: Fixed possible overflow in bitrate calculation. (3) MPEG thread: Avoid double chunk size limiting for the rare case of 8 MB modded Ondios. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7522 a1c6a512-1295-4272-9138-f99709370657
* Reworked handling of MPEG audio frame & file info: * Fixed frame size ↵Jens Arnold2005-09-10
| | | | | | calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
* Archos recording: yield() within audio_beep() to avoid starving the mpeg ↵Jens Arnold2005-09-05
| | | | | | thread; recording beep should no longer disturb prerecording. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7475 a1c6a512-1295-4272-9138-f99709370657
* Archos recording: Always prepend ID3V2 and Xing header to a recording file, ↵Jens Arnold2005-09-04
| | | | | | even with prerecording and file splitting. Adjusted Xing header creation to create smaller headers. Fixed missing break; in the mpeg thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7472 a1c6a512-1295-4272-9138-f99709370657
* Adjusted the file size calculation when prerecordingLinus Nielsen Feltzing2005-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7451 a1c6a512-1295-4272-9138-f99709370657