summaryrefslogtreecommitdiff
path: root/apps/plugins/metronome.c
AgeCommit message (Collapse)Author
2009-01-24remove MEM_FUNCTION_WRAPPERS, and private mem* implementations from plugins, ↵Andrew Mahone
and replace with pluginlib implementations in plugins/lib/gcc-support.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19847 a1c6a512-1295-4272-9138-f99709370657
2009-01-16loader-initialized global plugin API:Andrew Mahone
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Delete unused var and slight style policeNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19212 a1c6a512-1295-4272-9138-f99709370657
2008-11-20New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg
tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-10-30Data does not belong in .h files. Not even if it makes the .c file prettier.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18934 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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
2008-05-13Plugin parameters should be const.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-04-12Optimise some more line drawing calls.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17083 a1c6a512-1295-4272-9138-f99709370657
2008-04-04Allow to select the core for running the user timer on portalplayer targets. ↵Jens Arnold
* Incompatible plugin API change -> sorted API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16965 a1c6a512-1295-4272-9138-f99709370657
2008-03-09fix FS#8701 - metronome doesnt change back to ui font after drawingJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16585 a1c6a512-1295-4272-9138-f99709370657
2008-01-23Fixed the problems on the new version of the fire plugin (so repush it), ↵Kevin Ferrare
added new actions to the pluginlib_actions to fix the keymaps on the Sansa e200 for the clock and fire plugins. Also slightly simplified the metronome plugin's key mapping with those new actions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16148 a1c6a512-1295-4272-9138-f99709370657
2008-01-13Reenable metronome on Archos targets which got lost during the big change to ↵Marianne Arnold
it in last summer and fix a warning (wrong data type). The plugin button action system causes problems with the Ondio controls (tapping and playing conflict, even though there are exceptions defined) and it's only halfway usable, probably this applies to the Player as well but couldn't test. It is still better than nothing and e.g. metronome is not completely controllable on c200 too where it is also enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16079 a1c6a512-1295-4272-9138-f99709370657
2008-01-10Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to ↵Jonathan Gordon
make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Fixed the metronome plugin crashing on target. Fixes <a ↵Kevin Ferrare
href='http://www.rockbox.org/tracker/task/7421'>FS#7421</a> git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14051 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Least but not lastKevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14048 a1c6a512-1295-4272-9138-f99709370657
2007-07-29How should I say ... oops ?Kevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14047 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Use multi-screen api for metronome plugin, and made it run in the simulator ↵Kevin Ferrare
by implementing the timer functions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14046 a1c6a512-1295-4272-9138-f99709370657
2007-06-14Move the MEM_FUNCTION_WRAPPERS macro into plugin.h and get rid of the extra ↵Nils Wallménius
header file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13628 a1c6a512-1295-4272-9138-f99709370657
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-06-10Fix metronome errors for hw codec.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13605 a1c6a512-1295-4272-9138-f99709370657
2007-06-10Plugins that play sound must be sure to set inputs and outputs on audio ↵Michael Sevakis
muxed targets. Add strict adherence to the interface protocols. Make sure playback sets the playback output as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13604 a1c6a512-1295-4272-9138-f99709370657
2007-04-12Fix metronome plugin crashing on SWCODEC targets and fixed a division by ↵Miika Pekkarinen
zero as well when tapping in the beat. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13129 a1c6a512-1295-4272-9138-f99709370657
2007-04-06Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold
like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2006-12-04fix metronome sync buttonJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11657 a1c6a512-1295-4272-9138-f99709370657
2006-12-03oops, its not as simple as that...Martin Scarratt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11650 a1c6a512-1295-4272-9138-f99709370657
2006-12-03Enable syncing button in the metronome for I-RiversMartin Scarratt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11649 a1c6a512-1295-4272-9138-f99709370657
2006-12-03#if != #ifdefJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11646 a1c6a512-1295-4272-9138-f99709370657
2006-11-26fix metronome keysJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11597 a1c6a512-1295-4272-9138-f99709370657
2006-11-17fix ondio keys, and tempo +/- on all targetsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11541 a1c6a512-1295-4272-9138-f99709370657
2006-11-16implement actions in the plugins, bubbles and metronome converted.Jonathan Gordon
(hopefully buttons are correct, let me know in http://forums.rockbox.org/index.php?topic=5829.0 if there is a major stuff up) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11535 a1c6a512-1295-4272-9138-f99709370657
2006-10-27Let SOURCES handle the sim exclusion for metronomeMartin Arver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11360 a1c6a512-1295-4272-9138-f99709370657
2006-10-26Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell
nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
2006-08-20Fix errors when building H10 Normal build.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10668 a1c6a512-1295-4272-9138-f99709370657
2006-04-02Use TIMER_FREQ for timers in plugins. Fixes timer speed on iPod.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9427 a1c6a512-1295-4272-9138-f99709370657
2006-03-30Enabled metronome and battery_bench for X5Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9371 a1c6a512-1295-4272-9138-f99709370657
2006-03-03Code Police raid. Mostly changed // comments and indented to Rockbox style.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
2006-02-24More iPod 3G work from Seven Le MesleDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-07Rework PCM bufferBrandon Low
* 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-01-15New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold
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-14Metronome patch by Martin Scarratt: BPM entry acceleration and proper ↵Linus Nielsen Feltzing
stopping of playback on iriver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8348 a1c6a512-1295-4272-9138-f99709370657
2006-01-12Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-10Correct metronome sound on PCM playback targetsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8325 a1c6a512-1295-4272-9138-f99709370657
2006-01-10Add iPod button definitions for MetronomeDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8321 a1c6a512-1295-4272-9138-f99709370657
2006-01-10Metronome plugin for iriver targets, by Sebastian Henriksen, Martin Scarratt ↵Linus Nielsen Feltzing
and me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8319 a1c6a512-1295-4272-9138-f99709370657
2005-12-17Fixed several plugins for dB volume.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8258 a1c6a512-1295-4272-9138-f99709370657
2005-07-26Moved implementation of user timer to the firmware layer, implemented it for ↵Jens Arnold
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-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-03-01Fix for adjustable frequencyLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6095 a1c6a512-1295-4272-9138-f99709370657
2005-02-04nah, this doesn't depend on MAS but assumed bad stuff about LED/SHDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5777 a1c6a512-1295-4272-9138-f99709370657
2005-02-04MAS-specific pluginDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5774 a1c6a512-1295-4272-9138-f99709370657