diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-03-26 23:00:24 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-03-26 23:00:24 +0000 |
| commit | 0c09f3ee88278c3f2fb79bfd8e3cca3eb8669156 (patch) | |
| tree | cc93b79c54ae34a78dc0876eb70c348df9737371 /apps/plugin.c | |
| parent | 0ad19c7262f987691d04051648e71d6f30892d5f (diff) | |
| download | rockbox-0c09f3ee88278c3f2fb79bfd8e3cca3eb8669156.zip rockbox-0c09f3ee88278c3f2fb79bfd8e3cca3eb8669156.tar.gz rockbox-0c09f3ee88278c3f2fb79bfd8e3cca3eb8669156.tar.bz2 rockbox-0c09f3ee88278c3f2fb79bfd8e3cca3eb8669156.tar.xz | |
WAV playback as a plugin, for archos recorders and Ondios. Plays 16-bit WAV files with all common sample frequencies, both mono and stereo. Meant as a preview for later PCM playback integration, and for doing experiments with the MAS PCM codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9273 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index f78644f..d69fbfc 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -33,6 +33,7 @@ #include "logf.h" #include "screens.h" #include "misc.h" +#include "i2c.h" #include "mas.h" #include "plugin.h" #include "lang.h" @@ -403,6 +404,11 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ set_sound, +#if ((CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)) && !defined(SIMULATOR) + i2c_begin, + i2c_end, + i2c_write, +#endif }; int plugin_load(const char* plugin, void* parameter) |