summaryrefslogtreecommitdiff
path: root/apps/codecs/mpa.c (follow)
Commit message (Collapse)AuthorAge
* FS#6357, patch 1: let iramcopy and bss share the same space in codecs andTomasz Malesinski2006-11-26
| | | | | | | | | | plugins. Currently, in case of plugins using IRAM bss is cleared twice, once in the loader, once in PLUGIN_IRAM_INIT. For codecs, bss is cleared only during codec initialization. Also, removed double variables in codecs storing a pointer to codec_api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11606 a1c6a512-1295-4272-9138-f99709370657
* SWCODEC: Stop clicks between tracks when resampler is active by only ↵Michael Sevakis2006-11-26
| | | | | | switching the DSP frequency and not resetting the resampler at track boundaries. Will make sure DSP is correctly flushed at dicontinuities but don't hear any problems currently. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11600 a1c6a512-1295-4272-9138-f99709370657
* Re-enable the currently unused and broken dithering and noise shaping code ↵Thom Johansen2006-10-27
| | | | | | already in Rockbox, and make it a user option instead of a codec-controlled option. The majority of people probably will not even hear any difference with this enabled, but feedback is welcome. Save your settings! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11368 a1c6a512-1295-4272-9138-f99709370657
* Patch from bug report #5200 by Mark Arigo - attempt to fix gapless playback ↵Dave Chapman2006-05-20
| | | | | | after seeking in an MP3 file. It works for me, but needs more testing with a wider range of files before we can close the bug report - please post feedback on the tracker. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9962 a1c6a512-1295-4272-9138-f99709370657
* Tweak MP3 seeking a little, and don't do gapless trim if a seek has been done.Magnus Holmgren2006-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9848 a1c6a512-1295-4272-9138-f99709370657
* Remove an unneeded define, add a todoBrandon Low2006-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9765 a1c6a512-1295-4272-9138-f99709370657
* Comment and make pretty the hackBrandon Low2006-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9761 a1c6a512-1295-4272-9138-f99709370657
* Replace one hack with a better hackBrandon Low2006-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9759 a1c6a512-1295-4272-9138-f99709370657
* First commit of reworking voice to be mroe stable on swcodecBrandon Low2006-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9758 a1c6a512-1295-4272-9138-f99709370657
* Put new_track on the codec_api, and use it instead of the reload_codec ↵Brandon Low2006-04-15
| | | | | | variable in most places. Should help with problems people have had with GUI vs. playback sync. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9670 a1c6a512-1295-4272-9138-f99709370657
* Fix warningsBrandon Low2006-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9230 a1c6a512-1295-4272-9138-f99709370657
* Fix remaining warnings in 64bit simulator buildsJens Arnold2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9196 a1c6a512-1295-4272-9138-f99709370657
* Muting trick to prevent tiny pops and glitchless mp3 seeking.Miika Pekkarinen2006-01-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8416 a1c6a512-1295-4272-9138-f99709370657
* Fixed a few iriver playback quirks and issues with previous fixes.Miika Pekkarinen2006-01-20
| | | | | | | | Also fixed "TST.." bug when seeking and possible an enhancement to mp3 gapless playback also. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8402 a1c6a512-1295-4272-9138-f99709370657
* Part of the profiling patch to use a consistent return path in all codecs to ↵Brandon Low2006-01-18
| | | | | | facilitate 'on exit' functionality git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8374 a1c6a512-1295-4272-9138-f99709370657
* New codec loader, using the same mechanism as the new plugin loader. API ↵Jens Arnold2006-01-18
| | | | | | version numbering restarted for the new system. Uses the target ID from configure, so don't change that too often. * Fixed sim_plugin_load_ram() to truncate the tempfile. * Reduced plugin buffer size to 512KB for iriver and iPod. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8362 a1c6a512-1295-4272-9138-f99709370657
* Don't include the .bss and .ibss sections in the binary image for codecs and ↵Jens Arnold2006-01-08
| | | | | | plugins. Saves quite some disk space (and buffer space in case of codec changes during playback). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8308 a1c6a512-1295-4272-9138-f99709370657
* iRiver: improved handling of bad mpeg files.Magnus Holmgren2005-12-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8283 a1c6a512-1295-4272-9138-f99709370657
* fix gcc4 (un)signed warningsDaniel Stenberg2005-12-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8124 a1c6a512-1295-4272-9138-f99709370657
* iRiver: re-add an end of file check, to see if it helps the reported ↵Magnus Holmgren2005-12-01
| | | | | | problems with gapless MP3 playback. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8119 a1c6a512-1295-4272-9138-f99709370657
* More stable playback with reduced stuttering when skipping tracks.Miika Pekkarinen2005-11-18
| | | | | | | | Removed CODEC_SET_FILEBUF_LIMIT setting; now playback.c determines how to buffer the files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7970 a1c6a512-1295-4272-9138-f99709370657
* Need to set sample depth before clip limits to avoid having clip limits ↵Thom Johansen2005-11-02
| | | | | | overridden. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7732 a1c6a512-1295-4272-9138-f99709370657
* Support large delay fields in LAME header, plus some cleanups.Thom Johansen2005-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7731 a1c6a512-1295-4272-9138-f99709370657
* Introduced usage of IBSS_ATTR and ICONST_ATTR to codec plugins.Thom Johansen2005-10-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7659 a1c6a512-1295-4272-9138-f99709370657
* Use correct types to avoid sim warnings.Thom Johansen2005-10-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7627 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up the messy codec header and library system by merging codec.h, ↵Thom Johansen2005-10-13
| | | | | | lib/codeclib.[ch] and lib/xxx2wav.[ch] into just codeclib.[ch]. Deleted much of the unused code in the xxx2wav portion. All codecs should now only include codeclib.h, and whatever codec specific headers are needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7626 a1c6a512-1295-4272-9138-f99709370657
* Cosmetic changes and cleanup. Removed all unused mad_timer code and a couple ↵Thom Johansen2005-10-12
| | | | | | of unnecessary headers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7623 a1c6a512-1295-4272-9138-f99709370657
* Adapted codecs and DSP system to having MACSR saved in thread context.Thom Johansen2005-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
* iriver: The MP3 codec didn't take the ID3 tag size into account when seekingLinus Nielsen Feltzing2005-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7391 a1c6a512-1295-4272-9138-f99709370657
* Now codecs will do the buffer flushing after seeking as they find itMiika Pekkarinen2005-08-21
| | | | | | | necessary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7369 a1c6a512-1295-4272-9138-f99709370657
* Correct samplecount calculation, suggested by Markus KaufholdLinus Nielsen Feltzing2005-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7336 a1c6a512-1295-4272-9138-f99709370657
* Fix for ff/rw in long MP3 files.Magnus Holmgren2005-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7334 a1c6a512-1295-4272-9138-f99709370657
* One more gapless fix for LAME MP3 files.Magnus Holmgren2005-08-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7331 a1c6a512-1295-4272-9138-f99709370657
* More complete gapless playback implementation in the MP3 codec (using LAME ↵Magnus Holmgren2005-08-13
| | | | | | header values). Some cleanups as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7312 a1c6a512-1295-4272-9138-f99709370657
* mp3 codec: simpler seeking, and now sets the sample frequency dynamically ↵Linus Nielsen Feltzing2005-08-10
| | | | | | from the mp3 frame headers rather than from the frequency found by the metadata parser git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7299 a1c6a512-1295-4272-9138-f99709370657
* Fixed MAC initialization problem with mpa codec and removed workaroundMiika Pekkarinen2005-07-30
| | | | | | | for that bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7260 a1c6a512-1295-4272-9138-f99709370657
* Added support for ID3V2 ReplayGain tags (as written by Foobar). Generalized ↵Magnus Holmgren2005-07-27
| | | | | | the replaygain tag parsing a bit, to cut down the code size (APE tags should use this as well, but as it requires larger changes, it will have to wait for another commit). Also fixed a bug in the ID3V2 parser; ISO-8859-1 strings could confuse the main parsing loop (causing bufferpos to come out of sync). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7243 a1c6a512-1295-4272-9138-f99709370657
* Correctly read the next track metadata information. Don't crash ifMiika Pekkarinen2005-07-16
| | | | | | | frequency is ever set to 0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7171 a1c6a512-1295-4272-9138-f99709370657
* Separated buffering stuff from pcm_playback to pcmbuf. Renamed someMiika Pekkarinen2005-07-13
| | | | | | | function calls (audiobuffer -> pcmbuf etc.). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
* Replaced some yields with sleep(1) to save battery while paused orMiika Pekkarinen2005-07-11
| | | | | | | playing files which doesn't require cpu boosting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7103 a1c6a512-1295-4272-9138-f99709370657
* Fixed a problem with transition to next album which caused rockboxMiika Pekkarinen2005-07-10
| | | | | | | virtually to crash. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7096 a1c6a512-1295-4272-9138-f99709370657
* PCM buffering fixes. Made a temporary workaround for playback glitchMiika Pekkarinen2005-07-07
| | | | | | | bug (see the patch). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7049 a1c6a512-1295-4272-9138-f99709370657
* Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".Miika Pekkarinen2005-07-05
| | | | | | | | Thanks to Magnus Holmgren. Now metadata reading is better with improved performance for mp3 files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7030 a1c6a512-1295-4272-9138-f99709370657
* Fixed: Crossfading, broken elapsed info with mp3 files, possible cpuMiika Pekkarinen2005-07-05
| | | | | | | boost problem and track changing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7027 a1c6a512-1295-4272-9138-f99709370657
* Fixed mono playback support for mp3. Added two other event handlers inMiika Pekkarinen2005-07-02
| | | | | | | playback.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6986 a1c6a512-1295-4272-9138-f99709370657
* Turned off dithering in MPEG audio codec. It's just too slow.Thom Johansen2005-06-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6896 a1c6a512-1295-4272-9138-f99709370657
* Initial DSP implementation. DSP supports resampling audio stream fromMiika Pekkarinen2005-06-26
| | | | | | | | codecs (currently works corrently only with mp3's, somebody should fix that). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6877 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up code a bit, removed all rb references.Thom Johansen2005-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6825 a1c6a512-1295-4272-9138-f99709370657
* removed the use of the 2nd argument to codec_start() since no codec usedDaniel Stenberg2005-06-22
| | | | | | | it anymore git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6814 a1c6a512-1295-4272-9138-f99709370657
* moved and renamed the codecs, gave the codecs a new extension (.codec),Daniel Stenberg2005-06-22
unified to a single codec-only API, made a new codeclib, disabled the building of the *2wav plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657