mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
erosqnative: Fix operation in a simulator environment
Real hardware needs 24-bit PCM data supplied, but simulator is still 16bit only. Change-Id: I20b88a7cb27105829fe5c9e9c434f559a6dbbb60
This commit is contained in:
parent
e6851a55ed
commit
a76ecf1725
2 changed files with 4 additions and 2 deletions
|
@ -2471,7 +2471,7 @@ static bool dbg_talk(void)
|
|||
|
||||
simplelist_reset_lines();
|
||||
|
||||
simplelist_setline("Current voice file:");
|
||||
simplelist_setline("Current voice file:");
|
||||
if (data.status != TALK_STATUS_ERR_NOFILE)
|
||||
simplelist_addline(" %s", data.voicefile);
|
||||
else
|
||||
|
@ -2631,7 +2631,7 @@ static bool dbg_device_data(void)
|
|||
simplelist_setline("Device data RAW:");
|
||||
for (size_t i = 0; i < device_data.length; i += 4)
|
||||
{
|
||||
simplelist_addline("%02x: %02x %02x %02x %02x", i,
|
||||
simplelist_addline("%02zx: %02x %02x %02x %02x", i,
|
||||
device_data.payload[i + 0], device_data.payload[i + 1],
|
||||
device_data.payload[i + 2], device_data.payload[i + 3]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue