> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 14:19:19 up 4 days, 9:24, 1 user, load average: 0.71, 0.81, 0.62
This commit is contained in:
@ -45,7 +45,7 @@ static void audio_callback(void *userdata, uint8_t *stream, int len) {
|
|||||||
// memcpy(stream, sbuf + pos_read, to_end_cnt);
|
// memcpy(stream, sbuf + pos_read, to_end_cnt);
|
||||||
// memcpy(stream + to_end_cnt, sbuf, out_bound_cnt);
|
// memcpy(stream + to_end_cnt, sbuf, out_bound_cnt);
|
||||||
} else {
|
} else {
|
||||||
// memcpy(stream, sbuf + pos_read, read_cnt);
|
memcpy(stream, sbuf + pos_read, read_cnt);
|
||||||
}
|
}
|
||||||
pos_read += read_cnt;
|
pos_read += read_cnt;
|
||||||
pos_read %= CONFIG_SB_SIZE;
|
pos_read %= CONFIG_SB_SIZE;
|
||||||
|
Reference in New Issue
Block a user