Changeset 65147 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Jan 5, 2017 11:56:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r65144 r65147 158 158 } PULSEAUDIOENUMCBCTX, *PPULSEAUDIOENUMCBCTX; 159 159 160 #ifndef PA_CONTEXT_IS_GOOD /* To allow running on systems with PulseAudio < 0.9.11. */ 161 static inline int PA_CONTEXT_IS_GOOD(pa_context_state_t x) { 162 return 163 x == PA_CONTEXT_CONNECTING || 164 x == PA_CONTEXT_AUTHORIZING || 165 x == PA_CONTEXT_SETTING_NAME || 166 x == PA_CONTEXT_READY; 167 } 168 #endif /* !PA_CONTEXT_IS_GOOD */ 169 170 #ifndef PA_STREAM_IS_GOOD /* To allow running on systems with PulseAudio < 0.9.11. */ 171 static inline int PA_STREAM_IS_GOOD(pa_stream_state_t x) { 172 return 173 x == PA_STREAM_CREATING || 174 x == PA_STREAM_READY; 175 } 176 #endif /* !PA_STREAM_IS_GOOD */ 160 177 161 178 /*********************************************************************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.