forked from len0rd/rockbox
Don't bitswap on the iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6583 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a9d62c34d7
commit
a12ccabf04
3 changed files with 6 additions and 0 deletions
|
|
@ -230,7 +230,9 @@ static const struct plugin_api rockbox_api = {
|
|||
mp3_play_pause,
|
||||
mp3_play_stop,
|
||||
mp3_is_playing,
|
||||
#if CONFIG_HWCODEC != MASNONE
|
||||
bitswap,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* playback control */
|
||||
|
|
|
|||
|
|
@ -276,7 +276,9 @@ struct plugin_api {
|
|||
void (*mp3_play_pause)(bool play);
|
||||
void (*mp3_play_stop)(void);
|
||||
bool (*mp3_is_playing)(void);
|
||||
#if CONFIG_HWCODEC != MASNONE
|
||||
void (*bitswap)(unsigned char *data, int length);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* playback control */
|
||||
|
|
|
|||
|
|
@ -497,7 +497,9 @@ int talk_file(const char* filename, bool enqueue)
|
|||
|
||||
if (size)
|
||||
{
|
||||
#if CONFIG_HWCODEC != MASNONE
|
||||
bitswap(p_thumbnail, size);
|
||||
#endif
|
||||
queue_clip(p_thumbnail, size, enqueue);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue