summaryrefslogtreecommitdiff
path: root/firmware/mp3_playback.c (follow)
Commit message (Collapse)AuthorAge
* Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. ↵Marcin Bukat2010-10-31
| | | | | | FS#11189 by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28425 a1c6a512-1295-4272-9138-f99709370657
* Remove lots of simulator-speficic #ifdef'ing in sound.c to allow for DSP ↵Thomas Martitz2010-04-25
| | | | | | effects in the sims, e.g. for bass and treble (targets that do those effects in HW don't simulate using dsp). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25719 a1c6a512-1295-4272-9138-f99709370657
* Moved pcm_record from firmware to apps. Cleaned up some. Now all code using ↵Björn Stenberg2008-10-14
| | | | | | struct mp3entry is in apps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18807 a1c6a512-1295-4272-9138-f99709370657
* Make local function static in mp3_playback.c and match usb_init_device ↵Bertrik Sikken2008-09-12
| | | | | | prototype to implementation for Archos recorder git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18504 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
* 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
* compile talk.c on hwcodec sim. it wont actually talk thoughJonathan Gordon2007-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15512 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
* * move audio settings into audio codec driversChristian Gmeiner2007-05-22
| | | | | | | | * 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
* 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
* Guess there were more changes to it.:) Odd that mine built until a make clean.Michael Sevakis2007-03-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12694 a1c6a512-1295-4272-9138-f99709370657
* Properly set audio_is_initialized flag for swcodec devices ad use it when ↵Hardeep Sidhu2006-05-01
| | | | | | 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
* Replaced remaining '#pragma interrupt' with ↵Jens Arnold2006-04-26
| | | | | | __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
* SH targets: Protect against a gcc 3.3.x bug triggered by -O2 or -Os, in ↵Jens Arnold2006-04-25
| | | | | | 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
* 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
* 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
* Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold2005-08-29
| | | | | | SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
* Initial voice ui support for software codec platforms. Added also aMiika Pekkarinen2005-08-20
| | | | | | | beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
* Crossfade (and pcm buffer size) length is now configurable.Miika Pekkarinen2005-07-21
| | | | | | | | 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
* Implemented mp3_pause_done() for software codecs to make wps correctlyMiika Pekkarinen2005-07-20
| | | | | | | wait for pause to complete when fading the volume. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7205 a1c6a512-1295-4272-9138-f99709370657
* Removed unnecessary code.Jens Arnold2005-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6555 a1c6a512-1295-4272-9138-f99709370657
* Fix simulator and iriver builds.Jens Arnold2005-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6464 a1c6a512-1295-4272-9138-f99709370657
* (1) Wait for the MAS to run out of buffered data on fade out. Fixes bug ↵Jens Arnold2005-05-13
| | | | | | #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
* Unused variable.Jens Arnold2005-05-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6414 a1c6a512-1295-4272-9138-f99709370657
* Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()Linus Nielsen Feltzing2005-04-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
* Player: volume/balance/treble/bass handling improved. (1) Linear mapping of ↵Jens Arnold2005-02-06
| | | | | | 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
* repair the iriver sim buildDaniel Stenberg2005-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5764 a1c6a512-1295-4272-9138-f99709370657
* less warnings on iriver buildsDaniel Stenberg2005-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5761 a1c6a512-1295-4272-9138-f99709370657
* provide a range of dummies to build on iriverDaniel Stenberg2005-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5751 a1c6a512-1295-4272-9138-f99709370657
* New channel configuration setting, allowing fine-grained control of the ↵Jens Arnold2005-01-12
| | | | | | 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
* 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
* The player also has MAS poweron reset, handle it.Jens Arnold2004-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5456 a1c6a512-1295-4272-9138-f99709370657
* Player: Slightly shorter MAS poll interval fixes playback of 384 kbps 48 kHz ↵Jens Arnold2004-11-07
| | | | | | 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
* Set the MAS serial bitrate to 1 MBit/s as intended. Fixed comment on frequency.Jens Arnold2004-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5384 a1c6a512-1295-4272-9138-f99709370657
* Disabled S/PDIF out for models where S/PDIF output is not physically ↵Jens Arnold2004-10-11
| | | | | | 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
* Oops, I meant to disable SDOLinus Nielsen Feltzing2004-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5180 a1c6a512-1295-4272-9138-f99709370657
* Increased strength on S/PDIF outputs, fixes bug #770355Linus Nielsen Feltzing2004-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5179 a1c6a512-1295-4272-9138-f99709370657
* Fix: MAS SIBI control now is output as intendedJens Arnold2004-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5152 a1c6a512-1295-4272-9138-f99709370657
* Fixed a typo which lead to non-initialized MAS on Ondio SPJens Arnold2004-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5144 a1c6a512-1295-4272-9138-f99709370657
* Ondio config cleanup, SIBI supportJörg Hohensohn2004-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5139 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
* Now the Player balance setting works againLinus Nielsen Feltzing2004-09-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5071 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
* Balance is now set in 1% stepsLinus Nielsen Feltzing2004-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4968 a1c6a512-1295-4272-9138-f99709370657
* New feature: clean shutdown if you press OFF twice in the file browser, or ↵Linus Nielsen Feltzing2004-07-24
| | | | | | | | | 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
* Const'ed the various setting lookup tablesJens Arnold2004-07-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4904 a1c6a512-1295-4272-9138-f99709370657
* Now uses shadow_7f1 correctly, so the pitch works againLinus Nielsen Feltzing2004-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4883 a1c6a512-1295-4272-9138-f99709370657