Differential D28871 Diff 84858 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 2020-05-13 19:39:41 UTC | --- src/VBox/Devices/Audio/DrvHostALSAAudio.cpp.orig 2021-01-07 15:37:12 UTC | ||||
+++ src/VBox/Devices/Audio/DrvHostALSAAudio.cpp | +++ src/VBox/Devices/Audio/DrvHostALSAAudio.cpp | ||||
@@ -819,6 +819,7 @@ static DECLCALLBACK(int) drvHostALSAAudioStreamPlay(PP | @@ -820,6 +820,7 @@ static DECLCALLBACK(int) drvHostAlsaAudioHA_StreamPlay | ||||
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. */ | ||||
@@ -832,6 +833,7 @@ static DECLCALLBACK(int) drvHostALSAAudioStreamPlay(PP | @@ -833,6 +834,7 @@ static DECLCALLBACK(int) drvHostAlsaAudioHA_StreamPlay | ||||
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)); |