summaryrefslogtreecommitdiff
path: root/firmware/mp3_playback.c (follow)
Commit message (Collapse)AuthorAge
* 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
* Bass boost removed in favour of some new sound settings: Super bass and five ↵Linus Nielsen Feltzing2004-07-06
| | | | | | new MDB parameters: strength, harmonics, center, shape and enable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
* Added the (practically useless) 20ms option to the Auto Volume setting, for ↵Linus Nielsen Feltzing2004-06-22
| | | | | | completeness git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4793 a1c6a512-1295-4272-9138-f99709370657
* Simplified the settings code by removing the phys2val conversions. This has ↵Linus Nielsen Feltzing2004-06-21
| | | | | | 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
* removed dead codeLinus Nielsen Feltzing2004-06-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4735 a1c6a512-1295-4272-9138-f99709370657
* mpeg_set_pitch now uses the 7f1 shadow registerLinus Nielsen Feltzing2004-06-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4734 a1c6a512-1295-4272-9138-f99709370657
* Patch #929680 by Jens Arnold, fixes bug #929680 by reducing the ↵Linus Nielsen Feltzing2004-04-05
| | | | | | postpone_dma_tick delay git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4467 a1c6a512-1295-4272-9138-f99709370657
* First try to get a better transition from a cancelled clip to a new one, by ↵Jörg Hohensohn2004-03-21
| | | | | | 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
* Made set_irq_level() an inline function, and optimized it by removing the ↵Linus Nielsen Feltzing2004-03-02
| | | | | | bit shifts git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
* mp3 playback "engine" now in plugin API, rocks can make soundJörg Hohensohn2004-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4285 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
* add newline at end of file as older gcc compilers warn about thisDaniel Stenberg2004-01-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4200 a1c6a512-1295-4272-9138-f99709370657
* still trying to fix the sim (blindfolded)Jörg Hohensohn2004-01-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4195 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