multi_audio_test: Continue if getting buffers failed.
Don't try and read the buffers anyway, that'll lead to a page fault.
This commit is contained in:
parent
d5a29ba97c
commit
b3c896af1b
@ -377,6 +377,7 @@ do_play(int argc, char** argv)
|
||||
if (ioctl(sDevice, B_MULTI_BUFFER_EXCHANGE, &bufferInfo,
|
||||
sizeof(multi_buffer_list)) < B_OK) {
|
||||
printf("Getting buffers failed: %s\n", strerror(errno));
|
||||
continue;
|
||||
}
|
||||
|
||||
// fill buffer with data
|
||||
|
Loading…
Reference in New Issue
Block a user