forked from len0rd/rockbox
Fix speaking of 'Yes' for little endian players and fix a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14246 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
03865857ab
commit
75b07e99b6
1 changed files with 4 additions and 3 deletions
|
@ -100,7 +100,8 @@ struct voicefile /* file format of our voice file */
|
||||||
int id1_max; /* number of "normal" clips contained in above index */
|
int id1_max; /* number of "normal" clips contained in above index */
|
||||||
int id2_max; /* number of "voice only" clips contained in above index */
|
int id2_max; /* number of "voice only" clips contained in above index */
|
||||||
struct clip_entry index[]; /* followed by the index tables */
|
struct clip_entry index[]; /* followed by the index tables */
|
||||||
/* and finally the bitswapped mp3 clips, not visible here */
|
/* and finally the mp3 clips, not visible here, bitswapped
|
||||||
|
for SH based players */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct queue_entry /* one entry of the internal queue */
|
struct queue_entry /* one entry of the internal queue */
|
||||||
|
@ -191,7 +192,7 @@ static void load_voicefile(void)
|
||||||
|
|
||||||
#ifdef ROCKBOX_LITTLE_ENDIAN
|
#ifdef ROCKBOX_LITTLE_ENDIAN
|
||||||
logf("Byte swapping voice file");
|
logf("Byte swapping voice file");
|
||||||
structec_convert(audiobuf, "llllll", 1, true);
|
structec_convert(audiobuf, "lllll", 1, true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (((struct voicefile*)audiobuf)->table /* format check */
|
if (((struct voicefile*)audiobuf)->table /* format check */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue