summaryrefslogtreecommitdiff
path: root/apps/plugins/test_sampr.c
AgeCommit message (Collapse)Author
2009-06-16Accept FS#10094 by Teruaki Kawashima:Jonathan Gordon
Replace the old menu API with the "new" one (a very long time overdue so huge thanks for the work.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21306 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-12-12Bring consistency to pcm implementation and samplerate handling. Less ↵Michael Sevakis
low-level duplication. A small test_sampr fix so it works on coldfire again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
2008-12-10Use cookies for thread identification instead of pointers directly which ↵Michael Sevakis
gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19377 a1c6a512-1295-4272-9138-f99709370657
2008-11-23Change the test_sampr plugin around to use a constant pitch + white noise ↵Michael Sevakis
which makes it more informative about the hardware state. Add a volume control for targets without a separate one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19186 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-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
2007-10-15Fix some plugins that use NULL instead of -1 when not using a voice id in ↵Michael Sevakis
struct opt_items. Change as many '#define NULL 0' to '#define NULL ((void*)0)' as grep would find - somewehere the former is still hiding it seems. :\ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15117 a1c6a512-1295-4272-9138-f99709370657
2007-06-09Fix small preprocessor goofup.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13600 a1c6a512-1295-4272-9138-f99709370657
2007-06-08Straighten out some audio path APIs and misc. audio stuff. Having recording ↵Michael Sevakis
is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13599 a1c6a512-1295-4272-9138-f99709370657
2007-05-08Move the old api out of the core and into the plugin lib.Jonathan Gordon
ew plugins shuold use the new api and not this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
2007-05-04Get samplerate switching working in the sim to be similar to on target. Make ↵Michael Sevakis
all pcm functions available there as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13320 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Uups. Forgot to update a plugin.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12619 a1c6a512-1295-4272-9138-f99709370657
2007-01-03Added test_sampr playback samplerate testing plugin. Should show a list of ↵Michael Sevakis
rates defined for the HW_SAMPR_CAPS in the config file. Currently plays sine, triangle, sawtooth and square waves at 441Hz at the default samplerate of 44.1Khz. Changing rates will raise or lower the pitch. Add test_sampr.c to apps/plugins/SOURCES to build. Tested only on ColdFire targets so far. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11889 a1c6a512-1295-4272-9138-f99709370657