diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-11-18 19:03:45 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-11-18 19:03:45 +0000 |
| commit | 1a41c8afeefd4884a5369c79808c68b3514eec8b (patch) | |
| tree | 9200eef9f09c86fd19929733ab45f1a3acee6152 /apps/codecs.c | |
| parent | 984a6b023684de78e41dae320721b4b28f17f108 (diff) | |
| download | rockbox-1a41c8afeefd4884a5369c79808c68b3514eec8b.zip rockbox-1a41c8afeefd4884a5369c79808c68b3514eec8b.tar.gz rockbox-1a41c8afeefd4884a5369c79808c68b3514eec8b.tar.bz2 rockbox-1a41c8afeefd4884a5369c79808c68b3514eec8b.tar.xz | |
SPC Codec: Run SPC emulation on COP and audio sample processing on CPU on dual-core PortalPlayer targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15673 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.c')
| -rw-r--r-- | apps/codecs.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index f2539dc..9969b6f 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -162,7 +162,19 @@ struct codec_api ci = { invalidate_icache, #endif - NULL, /* struct sp_data *dsp */ + NULL, /* struct dsp_config *dsp */ + +#if NUM_CORES > 1 + create_thread, + thread_thaw, + thread_wait, + semaphore_init, + semaphore_wait, + semaphore_release, + event_init, + event_wait, + event_set_state, +#endif }; void codec_get_full_path(char *path, const char *codec_root_fn) |