summaryrefslogtreecommitdiff
path: root/firmware/mp3_playback.c
AgeCommit message (Collapse)Author
2007-06-13Accept FS#7264 'Build with -Os switch for coldfire targets'.Nils Wallménius
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
2007-05-22* move audio settings into audio codec driversChristian Gmeiner
* add mas35xx driver for all mas35xx targets. Later mas35xx code from sound.c will move to this new driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13464 a1c6a512-1295-4272-9138-f99709370657
2007-04-11Moved SH1 system code to target tree. * First shot at hwcompat cleanup.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Guess there were more changes to it.:) Odd that mine built until a make clean.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12694 a1c6a512-1295-4272-9138-f99709370657
2006-05-01Properly set audio_is_initialized flag for swcodec devices ad use it when ↵Hardeep Sidhu
initializing crossfade. This should fix the problems with resuming playback at startup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9853 a1c6a512-1295-4272-9138-f99709370657
2006-04-26Replaced remaining '#pragma interrupt' with ↵Jens Arnold
__attribute__((interrupt_handler)). It's cleaner this way, and fixes sh-elf-gcc 3.4.x builds with -Os or -O2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9816 a1c6a512-1295-4272-9138-f99709370657
2006-04-25SH targets: Protect against a gcc 3.3.x bug triggered by -O2 or -Os, in ↵Jens Arnold
preparation for switching to -Os. Workaround could be removed again for gcc 3.4.x. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9809 a1c6a512-1295-4272-9138-f99709370657
2006-04-22First commit of reworking voice to be mroe stable on swcodecBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9758 a1c6a512-1295-4272-9138-f99709370657
2005-11-06Sound settings rework: * Put all fixed parameters (unit, decimals, step, ↵Jens Arnold
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
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-20Initial voice ui support for software codec platforms. Added also aMiika Pekkarinen
beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-07-21Crossfade (and pcm buffer size) length is now configurable.Miika Pekkarinen
Implemented anti-skip buffer setting for iriver also. Settings block bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-20Implemented mp3_pause_done() for software codecs to make wps correctlyMiika Pekkarinen
wait for pause to complete when fading the volume. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7205 a1c6a512-1295-4272-9138-f99709370657
2005-06-03Removed unnecessary code.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6555 a1c6a512-1295-4272-9138-f99709370657
2005-05-13Fix simulator and iriver builds.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6464 a1c6a512-1295-4272-9138-f99709370657
2005-05-13(1) Wait for the MAS to run out of buffered data on fade out. Fixes bug ↵Jens Arnold
#778930/#1189756. (2) Fade in/out from/to zero. (3) Always fade in 30 steps, independent of the global volume. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6463 a1c6a512-1295-4272-9138-f99709370657
2005-05-07Unused variable.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6414 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-06Player: volume/balance/treble/bass handling improved. (1) Linear mapping of ↵Jens Arnold
percent to dB for volume, like on all other units. (2) Bug fix: Limit the prescale compensation to +18 dB final volume. (3) Architectural fix: app code doesn't need to additionally set volume in order to activate a changed balance setting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5817 a1c6a512-1295-4272-9138-f99709370657
2005-02-03repair the iriver sim buildDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5764 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-02provide a range of dummies to build on iriverDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5751 a1c6a512-1295-4272-9138-f99709370657
2005-01-12New channel configuration setting, allowing fine-grained control of the ↵Jens Arnold
stereo width. This replaces the 'stereo narrow' and 'stereo wide' modes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5559 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-11-22The player also has MAS poweron reset, handle it.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5456 a1c6a512-1295-4272-9138-f99709370657
2004-11-07Player: Slightly shorter MAS poll interval fixes playback of 384 kbps 48 kHz ↵Jens Arnold
layer 2 files. Others: Correct serial bitrate allows increasing the postpone_dma_tick delay a bit without disturbing playback of same files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5387 a1c6a512-1295-4272-9138-f99709370657
2004-11-06Set the MAS serial bitrate to 1 MBit/s as intended. Fixed comment on frequency.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5384 a1c6a512-1295-4272-9138-f99709370657
2004-10-11Disabled S/PDIF out for models where S/PDIF output is not physically ↵Jens Arnold
available. Should reduce possible interference. If you have modded your FM/V2 to have such an output, define HAVE_SPDIF_OUT in the corresponding config-xxx.h file to re-enable it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5253 a1c6a512-1295-4272-9138-f99709370657
2004-10-05Oops, I meant to disable SDOLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5180 a1c6a512-1295-4272-9138-f99709370657
2004-10-05Increased strength on S/PDIF outputs, fixes bug #770355Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5179 a1c6a512-1295-4272-9138-f99709370657
2004-10-02Fix: MAS SIBI control now is output as intendedJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5152 a1c6a512-1295-4272-9138-f99709370657
2004-10-01Fixed a typo which lead to non-initialized MAS on Ondio SPJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5144 a1c6a512-1295-4272-9138-f99709370657
2004-10-01Ondio config cleanup, SIBI supportJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5139 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-13Now the Player balance setting works againLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5071 a1c6a512-1295-4272-9138-f99709370657
2004-08-16Const policed pointer arguments to functions, part 1Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-05Corrected MAS version checksJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4989 a1c6a512-1295-4272-9138-f99709370657
2004-08-03More const policeing step 4Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-07-27Balance is now set in 1% stepsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4968 a1c6a512-1295-4272-9138-f99709370657
2004-07-24New feature: clean shutdown if you press OFF twice in the file browser, or ↵Linus Nielsen Feltzing
select "Shut off" in the main menu. Players only have the menu option, due to lack of keys. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4940 a1c6a512-1295-4272-9138-f99709370657
2004-07-20Const'ed the various setting lookup tablesJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4904 a1c6a512-1295-4272-9138-f99709370657
2004-07-15Now uses shadow_7f1 correctly, so the pitch works againLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4883 a1c6a512-1295-4272-9138-f99709370657
2004-07-06Bass boost removed in favour of some new sound settings: Super bass and five ↵Linus Nielsen Feltzing
new MDB parameters: strength, harmonics, center, shape and enable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
2004-06-22Added the (practically useless) 20ms option to the Auto Volume setting, for ↵Linus Nielsen Feltzing
completeness git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4793 a1c6a512-1295-4272-9138-f99709370657
2004-06-21Simplified the settings code by removing the phys2val conversions. This has ↵Linus Nielsen Feltzing
the side effect of increasing the resolution for the balance setting from 2% steps to 1% steps, and bass boost from 10% steps to 1% steps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4782 a1c6a512-1295-4272-9138-f99709370657
2004-06-11removed dead codeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4735 a1c6a512-1295-4272-9138-f99709370657
2004-06-11mpeg_set_pitch now uses the 7f1 shadow registerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4734 a1c6a512-1295-4272-9138-f99709370657
2004-04-05Patch #929680 by Jens Arnold, fixes bug #929680 by reducing the ↵Linus Nielsen Feltzing
postpone_dma_tick delay git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4467 a1c6a512-1295-4272-9138-f99709370657
2004-03-21First try to get a better transition from a cancelled clip to a new one, by ↵Jörg Hohensohn
maintaining the frame sync. Doesn't seem to have much effect, though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4425 a1c6a512-1295-4272-9138-f99709370657