mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
document things that need to be fixed with FIXME
This commit is contained in:
parent
3762299beb
commit
dd40006718
2 changed files with 7 additions and 3 deletions
|
|
@ -876,7 +876,7 @@ static int hsp_process_render(struct userdata *u) {
|
|||
pa_assert(l != 0);
|
||||
|
||||
if (l < 0) {
|
||||
if (errno == EINTR || errno == EAGAIN)
|
||||
if (errno == EINTR || errno == EAGAIN) /*** FIXME: EAGAIN handling borked ***/
|
||||
continue;
|
||||
else {
|
||||
pa_log_error("Failed to write data to SCO socket: %s", pa_cstrerror(errno));
|
||||
|
|
@ -921,7 +921,7 @@ static int hsp_process_push(struct userdata *u) {
|
|||
pa_memblock_release(memchunk.memblock);
|
||||
|
||||
if (l <= 0) {
|
||||
if (l < 0 && (errno == EINTR || errno == EAGAIN))
|
||||
if (l < 0 && (errno == EINTR || errno == EAGAIN)) /*** FIXME: EAGAIN handling borked ***/
|
||||
continue;
|
||||
else {
|
||||
pa_log_error("Failed to read data from SCO socket: %s", l < 0 ? pa_cstrerror(errno) : "EOF");
|
||||
|
|
@ -1045,7 +1045,7 @@ static int a2dp_process_render(struct userdata *u) {
|
|||
pa_assert(l != 0);
|
||||
|
||||
if (l < 0) {
|
||||
if (errno == EINTR || errno == EAGAIN)
|
||||
if (errno == EINTR || errno == EAGAIN) /*** FIXME: EAGAIN handling borked ***/
|
||||
continue;
|
||||
else {
|
||||
pa_log_error("Failed to write data to socket: %s", pa_cstrerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue