[rockbox] / trunk / apps / plugins / metronome.c Repository:
ViewVC logotype

Log of /trunk/apps/plugins/metronome.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 19212 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 25 13:48:40 2008 UTC (8 days, 15 hours ago) by nls
File length: 56533 byte(s)
Diff to previous 19146
Delete unused var and slight style police

Revision 19146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 20 11:27:31 2008 UTC (13 days, 17 hours ago) by zagor
File length: 56552 byte(s)
Diff to previous 18934
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.

Many #include lines adjusted to conform to the new standards.

Revision 18934 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 30 14:39:20 2008 UTC (4 weeks, 6 days ago) by zagor
File length: 56548 byte(s)
Diff to previous 17847
Data does not belong in .h files. Not even if it makes the .c file prettier.

Revision 17847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 28 18:10:04 2008 UTC (5 months ago) by bagder
File length: 11333 byte(s)
Diff to previous 17492
Updated our source code header to explicitly mention that we are GPL v2 or
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

Revision 17492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 09:57:56 2008 UTC (6 months, 3 weeks ago) by pondlife
File length: 11233 byte(s)
Diff to previous 17083
Plugin parameters should be const.

Revision 17083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 12 09:51:16 2008 UTC (7 months, 3 weeks ago) by amiconn
File length: 11215 byte(s)
Diff to previous 16965
Optimise some more line drawing calls.

Revision 16965 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 4 19:38:46 2008 UTC (8 months ago) by amiconn
File length: 11222 byte(s)
Diff to previous 16585
Allow to select the core for running the user timer on portalplayer targets. * Incompatible plugin API change -> sorted API.

Revision 16585 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 9 02:36:17 2008 UTC (8 months, 3 weeks ago) by jdgordon
File length: 11208 byte(s)
Diff to previous 16148
fix FS#8701 - metronome doesnt change back to ui font after drawing

Revision 16148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 08:25:04 2008 UTC (10 months, 1 week ago) by kevin
File length: 11177 byte(s)
Diff to previous 16079
Fixed the problems on the new version of the fire plugin (so repush it), 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.

Revision 16079 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 13 18:27:54 2008 UTC (10 months, 3 weeks ago) by pixelma
File length: 11530 byte(s)
Diff to previous 16045
Reenable metronome on Archos targets which got lost during the big change to 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.

Revision 16045 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 10 08:08:31 2008 UTC (10 months, 3 weeks ago) by jdgordon
File length: 11533 byte(s)
Diff to previous 14051
Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.

Revision 14051 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 29 05:30:04 2007 UTC (16 months, 1 week ago) by kevin
File length: 11261 byte(s)
Diff to previous 14048
Fixed the metronome plugin crashing on target. Fixes <a href='http://www.rockbox.org/tracker/task/7421'>FS#7421</a>

Revision 14048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 29 04:16:12 2007 UTC (16 months, 1 week ago) by kevin
File length: 11200 byte(s)
Diff to previous 14047
Least but not last

Revision 14047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 29 04:01:46 2007 UTC (16 months, 1 week ago) by kevin
File length: 11196 byte(s)
Diff to previous 14046
How should I say ... oops ?

Revision 14046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 29 03:43:37 2007 UTC (16 months, 1 week ago) by kevin
File length: 11195 byte(s)
Diff to previous 13628
Use multi-screen api for metronome plugin, and made it run in the simulator by implementing the timer functions

Revision 13628 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 14 15:07:54 2007 UTC (17 months, 3 weeks ago) by nls
File length: 56792 byte(s)
Diff to previous 13625
Move the MEM_FUNCTION_WRAPPERS macro into plugin.h and get rid of the extra header file

Revision 13625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 13 15:35:07 2007 UTC (17 months, 3 weeks ago) by nls
File length: 56827 byte(s)
Diff to previous 13605
Accept FS#7264 'Build with -Os switch for coldfire targets'.
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers 
functions to a plugin to make plugins link correctly when gcc
calls mem* functions directly.

Revision 13605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 10 02:19:39 2007 UTC (17 months, 3 weeks ago) by jethead71
File length: 56761 byte(s)
Diff to previous 13604
Fix metronome errors for hw codec.

Revision 13604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 10 02:10:47 2007 UTC (17 months, 3 weeks ago) by jethead71
File length: 56726 byte(s)
Diff to previous 13129
Plugins that play sound must be sure to set inputs and outputs on audio muxed targets. Add strict adherence to the interface protocols. Make sure playback sets the playback output as well.

Revision 13129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 17:58:42 2007 UTC (19 months, 3 weeks ago) by miipekk
File length: 56316 byte(s)
Diff to previous 13050
Fix metronome plugin crashing on SWCODEC targets and fixed a division by zero as well when tapping in the beat.

Revision 13050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 22:55:00 2007 UTC (19 months, 4 weeks ago) by amiconn
File length: 55848 byte(s)
Diff to previous 11657
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.

Revision 11657 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 4 01:04:14 2006 UTC (2 years ago) by jdgordon
File length: 55848 byte(s)
Diff to previous 11650
fix metronome sync button

Revision 11650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 3 16:49:36 2006 UTC (2 years ago) by mmmm
File length: 55837 byte(s)
Diff to previous 11649
oops, its not as simple as that...

Revision 11649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 3 16:35:28 2006 UTC (2 years ago) by mmmm
File length: 55861 byte(s)
Diff to previous 11646
Enable syncing button in the metronome for I-Rivers

Revision 11646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 3 00:16:25 2006 UTC (2 years ago) by jdgordon
File length: 55838 byte(s)
Diff to previous 11597
#if != #ifdef

Revision 11597 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 26 07:20:04 2006 UTC (2 years ago) by jdgordon
File length: 55835 byte(s)
Diff to previous 11541
fix metronome keys

Revision 11541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 17 00:50:35 2006 UTC (2 years ago) by jdgordon
File length: 55651 byte(s)
Diff to previous 11535
fix ondio keys, and tempo +/- on all targets

Revision 11535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 16 02:53:44 2006 UTC (2 years ago) by jdgordon
File length: 55491 byte(s)
Diff to previous 11360
implement actions in the plugins, bubbles and metronome converted.
(hopefully buttons are correct, let me know in
http://forums.rockbox.org/index.php?topic=5829.0 if there is a major
stuff up)

Revision 11360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 11:24:13 2006 UTC (2 years, 1 month ago) by tucoz
File length: 58668 byte(s)
Diff to previous 11351
Let SOURCES handle the sim exclusion for metronome

Revision 11351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 13:38:09 2006 UTC (2 years, 1 month ago) by barrywardell
File length: 58723 byte(s)
Diff to previous 10668
Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the 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.

Revision 10668 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 20 23:05:47 2006 UTC (2 years, 3 months ago) by barrywardell
File length: 58404 byte(s)
Diff to previous 9427
Fix errors when building H10 Normal build.

Revision 9427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 2 12:45:30 2006 UTC (2 years, 8 months ago) by amiconn
File length: 58086 byte(s)
Diff to previous 9371
Use TIMER_FREQ for timers in plugins. Fixes timer speed on iPod.

Revision 9371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 21:17:19 2006 UTC (2 years, 8 months ago) by bagder
File length: 58084 byte(s)
Diff to previous 8894
Enabled metronome and battery_bench for X5

Revision 8894 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 3 08:14:44 2006 UTC (2 years, 9 months ago) by bagder
File length: 57779 byte(s)
Diff to previous 8835
Code Police raid. Mostly changed // comments and indented to Rockbox style.

Revision 8835 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 24 20:54:09 2006 UTC (2 years, 9 months ago) by dave
File length: 57773 byte(s)
Diff to previous 8612
More iPod 3G work from Seven Le Mesle

Revision 8612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 20:38:55 2006 UTC (2 years, 9 months ago) by lostlogic
File length: 57731 byte(s)
Diff to previous 8349
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.

Revision 8349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 15 18:20:18 2006 UTC (2 years, 10 months ago) by amiconn
File length: 57916 byte(s)
Diff to previous 8348
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.

Revision 8348 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 14 02:39:30 2006 UTC (2 years, 10 months ago) by linus
File length: 57927 byte(s)
Diff to previous 8342
Metronome patch by Martin Scarratt: BPM entry acceleration and proper stopping of playback on iriver

Revision 8342 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 12 00:35:50 2006 UTC (2 years, 10 months ago) by dave
File length: 57858 byte(s)
Diff to previous 8325
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski

Revision 8325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 22:22:19 2006 UTC (2 years, 10 months ago) by linus
File length: 57551 byte(s)
Diff to previous 8321
Correct metronome sound on PCM playback targets

Revision 8321 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 08:59:08 2006 UTC (2 years, 10 months ago) by dave
File length: 57280 byte(s)
Diff to previous 8319
Add iPod button definitions for Metronome

Revision 8319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 02:51:50 2006 UTC (2 years, 10 months ago) by linus
File length: 56960 byte(s)
Diff to previous 8258
Metronome plugin for iriver targets, by Sebastian Henriksen, Martin Scarratt and me

Revision 8258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 17 21:13:30 2005 UTC (2 years, 11 months ago) by amiconn
File length: 12796 byte(s)
Diff to previous 7242
Fixed several plugins for dB volume.

Revision 7242 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 26 20:01:11 2005 UTC (3 years, 4 months ago) by amiconn
File length: 12687 byte(s)
Diff to previous 6240
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.

Revision 6240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 1 13:41:03 2005 UTC (3 years, 8 months ago) by linus
File length: 12694 byte(s)
Diff to previous 6095
Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()

Revision 6095 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 1 14:38:22 2005 UTC (3 years, 9 months ago) by linus
File length: 12699 byte(s)
Diff to previous 5777
Fix for adjustable frequency

Revision 5777 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 4 10:02:42 2005 UTC (3 years, 9 months ago) by bagder
File length: 12683 byte(s)
Diff to previous 5774
nah, this doesn't depend on MAS but assumed bad stuff about LED/SH

Revision 5774 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 4 08:35:52 2005 UTC (3 years, 9 months ago) by bagder
File length: 12350 byte(s)
Diff to previous 5512
MAS-specific plugin

Revision 5512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 26 14:56:05 2004 UTC (3 years, 11 months ago) by amiconn
File length: 12274 byte(s)
Diff to previous 5470
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.

Revision 5470 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 29 00:19:51 2004 UTC (4 years ago) by amiconn
File length: 12274 byte(s)
Diff to previous 5468
Correctly display paused state

Revision 5468 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 26 13:31:40 2004 UTC (4 years ago) by linus
File length: 12206 byte(s)
Diff to previous 5291
Patch #1048937 by Jacob Erlbeck, Metronome tap speed entry

Revision 5291 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 16 00:07:43 2004 UTC (4 years, 1 month ago) by amiconn
File length: 10180 byte(s)
Diff to previous 5265
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.

Revision 5265 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 12 23:45:25 2004 UTC (4 years, 1 month ago) by amiconn
File length: 10136 byte(s)
Diff to previous 5126
metronome.rock now uses default_event_handler_ex(). Adapted and enabled for Ondio.

Revision 5126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 28 22:13:26 2004 UTC (4 years, 2 months ago) by hohensoh
File length: 9568 byte(s)
Diff to previous 5022
a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)

Revision 5022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 28 09:07:21 2004 UTC (4 years, 3 months ago) by amiconn
File length: 9550 byte(s)
Diff to previous 4704
Fixes: (1) metronome didn't yield() at all, (2) possible race condition, (3) complete cleanup when detecting USB connection, (4) removed TAB chars

Revision 4704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 26 06:56:18 2004 UTC (4 years, 6 months ago) by linus
File length: 9255 byte(s)
Diff to previous 4412
Patch #958658, metronome uses plugin_register_timer now

Revision 4412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 19 22:15:52 2004 UTC (4 years, 8 months ago) by hohensoh
File length: 9644 byte(s)
Diff to previous 4400
minor bugfix

Revision 4400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 17 14:54:32 2004 UTC (4 years, 8 months ago) by linusnielsen
File length: 9624 byte(s)
Diff to previous 4368
Patch #917313, changes in muting and timing handling

Revision 4368 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Mar 12 08:21:26 2004 UTC (4 years, 8 months ago) by linusnielsen
File length: 9481 byte(s)
Ninja-cool metronome plugin by Matthias Wientapper, for both Player and Recorder

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Admin: Björn Stenberg
ViewVC Help
Powered by ViewVC 1.1-dev