Commit graph

24 commits

Author SHA1 Message Date
Brandon Low
413da2a3d9 Rework PCM buffer
* Linked list instead of static array buffer pointers
* Variable sized chunks
* Improved mix handling
* Reduction in duplicated code
* Reduced IRAM usage w/o sacrificing performance
* Converted to almost entirely unsigned math
* Add pause function to reduce pcm_* exposure to playback.

This WILL break playback on the iPod until linuxstb makes a followup commit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8612 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 20:38:55 +00:00
Jens Arnold
a36b1d4083 New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
2006-01-15 18:20:18 +00:00
Linus Nielsen Feltzing
c7c9069ed4 Metronome patch by Martin Scarratt: BPM entry acceleration and proper stopping of playback on iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8348 a1c6a512-1295-4272-9138-f99709370657
2006-01-14 02:39:30 +00:00
Dave Chapman
d83e929f3f Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Linus Nielsen Feltzing
befd0ac3a6 Correct metronome sound on PCM playback targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8325 a1c6a512-1295-4272-9138-f99709370657
2006-01-10 22:22:19 +00:00
Dave Chapman
ccf3283a6f Add iPod button definitions for Metronome
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8321 a1c6a512-1295-4272-9138-f99709370657
2006-01-10 08:59:08 +00:00
Linus Nielsen Feltzing
81c9d58c4e Metronome plugin for iriver targets, by Sebastian Henriksen, Martin Scarratt and me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8319 a1c6a512-1295-4272-9138-f99709370657
2006-01-10 02:51:50 +00:00
Jens Arnold
c80e0c19e1 Fixed several plugins for dB volume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8258 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 21:13:30 +00:00
Jens Arnold
e44372ef18 Moved implementation of user timer to the firmware layer, implemented it for iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
2005-07-26 20:01:11 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Linus Nielsen Feltzing
2d69f4c402 Fix for adjustable frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6095 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 14:38:22 +00:00
Daniel Stenberg
a00619fd7b nah, this doesn't depend on MAS but assumed bad stuff about LED/SH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5777 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 10:02:42 +00:00
Daniel Stenberg
4a93acc735 MAS-specific plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5774 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 08:35:52 +00:00
Jens Arnold
b8c9a0caa3 Plugin fixes: Correct button name for MODE key in help texts, conforming to the manual & wiki documentation (Ondio plugins). Alternate image is selected with MINUS, not MENU (rockbox_flash for player). Shortened some help lines that didn't fit on the display with the default font (solitaire). Fixed a number of typos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5512 a1c6a512-1295-4272-9138-f99709370657
2004-12-26 14:56:05 +00:00
Jens Arnold
a5a6fa930c Correctly display paused state
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5470 a1c6a512-1295-4272-9138-f99709370657
2004-11-29 00:19:51 +00:00
Linus Nielsen Feltzing
569b998c5b Patch #1048937 by Jacob Erlbeck, Metronome tap speed entry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5468 a1c6a512-1295-4272-9138-f99709370657
2004-11-26 13:31:40 +00:00
Jens Arnold
cc8cff2ec0 Plugin rework 1: (most) Compile-time keyboard configuration, for Ondio adaption. (all) Now using the default event handler, standard placement is now in switch() default case. (snow) Made USB aware. (video) Added contrast setting to Ondio version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5291 a1c6a512-1295-4272-9138-f99709370657
2004-10-16 00:07:43 +00:00
Jens Arnold
c9e772645f metronome.rock now uses default_event_handler_ex(). Adapted and enabled for Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5265 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 23:45:25 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into 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-28 22:13:26 +00:00
Jens Arnold
0df29b2157 Fixes: (1) metronome didn't yield() at all, (2) possible race condition, (3) complete cleanup when detecting USB connection, (4) removed TAB chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5022 a1c6a512-1295-4272-9138-f99709370657
2004-08-28 09:07:21 +00:00
Linus Nielsen Feltzing
4bd2702cad Patch #958658, metronome uses plugin_register_timer now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4704 a1c6a512-1295-4272-9138-f99709370657
2004-05-26 06:56:18 +00:00
Jörg Hohensohn
fd5714bbef minor bugfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4412 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:15:52 +00:00
Linus Nielsen Feltzing
c5067bf5ac Patch #917313, changes in muting and timing handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4400 a1c6a512-1295-4272-9138-f99709370657
2004-03-17 14:54:32 +00:00
Linus Nielsen Feltzing
1fcd8ce396 Ninja-cool metronome plugin by Matthias Wientapper, for both Player and Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4368 a1c6a512-1295-4272-9138-f99709370657
2004-03-12 08:21:26 +00:00