aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp
blob: fec7ba18f722433c9e182c73707d9f9139c7f1cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp.orig	2021-04-20 04:27:52 UTC
+++ src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp
@@ -833,6 +833,7 @@ static DECLCALLBACK(int) drvHostAlsaAudioHA_StreamPlay
                         continue;
                     }
 
+#if EPIPE != ESTRPIPE
                     case -ESTRPIPE:
                     {
                         /* Stream was suspended and waiting for a recovery. */
@@ -846,6 +847,7 @@ static DECLCALLBACK(int) drvHostAlsaAudioHA_StreamPlay
                         LogFlowFunc(("Resumed suspended output stream\n"));
                         continue;
                     }
+#endif
 
                     default:
                         LogFlowFunc(("Failed to write %RU32 bytes, error unknown\n", cbToWrite));