Differential D25496 Diff 74150 emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostALSAAudio.cpp
Changeset View
Changeset View
Standalone View
Standalone View
emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostALSAAudio.cpp
--- src/VBox/Devices/Audio/DrvHostALSAAudio.cpp.orig 2017-10-18 07:09:04 UTC | --- src/VBox/Devices/Audio/DrvHostALSAAudio.cpp.orig 2020-05-13 19:39:41 UTC | ||||
+++ src/VBox/Devices/Audio/DrvHostALSAAudio.cpp | +++ src/VBox/Devices/Audio/DrvHostALSAAudio.cpp | ||||
@@ -1231,6 +1231,7 @@ static DECLCALLBACK(int) drvHostALSAAudioStreamPlay(PP | @@ -819,6 +819,7 @@ static DECLCALLBACK(int) drvHostALSAAudioStreamPlay(PP | ||||
continue; | continue; | ||||
} | } | ||||
+#if EPIPE != ESTRPIPE | +#if EPIPE != ESTRPIPE | ||||
case -ESTRPIPE: | case -ESTRPIPE: | ||||
{ | { | ||||
/* Stream was suspended and waiting for a recovery. */ | /* Stream was suspended and waiting for a recovery. */ | ||||
@@ -1244,6 +1245,7 @@ static DECLCALLBACK(int) drvHostALSAAudioStreamPlay(PP | @@ -832,6 +833,7 @@ static DECLCALLBACK(int) drvHostALSAAudioStreamPlay(PP | ||||
LogFlowFunc(("Resumed suspended output stream\n")); | LogFlowFunc(("Resumed suspended output stream\n")); | ||||
continue; | continue; | ||||
} | } | ||||
+#endif | +#endif | ||||
default: | default: | ||||
LogFlowFunc(("Failed to write %RU32 bytes, error unknown\n", cbToWrite)); | LogFlowFunc(("Failed to write %RU32 bytes, error unknown\n", cbToWrite)); |