Fix bug in pcm-alsa.c
I introduced the bug by mistake when adding support for 32-bit sample rate. Change-Id: I5ac53917c95327672284707b69c59bb98d1aecd7
This commit is contained in:
parent
638eaeb884
commit
9c83e07d8b
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ static bool fill_frames(void)
|
|||
else
|
||||
{
|
||||
/* Rockbox and PCM have same format: memcopy */
|
||||
memcpy(&frames[2*(period_size-frames_left)], pcm_data, copy_n);
|
||||
memcpy(&frames[2*(period_size-frames_left)], pcm_data, copy_n * 4);
|
||||
}
|
||||
pcm_data += copy_n*4;
|
||||
pcm_size -= copy_n*4;
|
||||
|
|
Loading…
Reference in a new issue