waveout: Fix compile warnings
authorPatrick Gaskin <patrick@pgaskin.net>
Sun, 3 Jan 2021 09:04:52 +0000 (04:04 -0500)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Wed, 13 Jan 2021 03:03:58 +0000 (03:03 +0000)
commiteb1297f1246d8b89ab0b7072010c3d9000540b95
treed59fe623fe3fc49a41f3b537bd8ba3811c063df8
parent7fc021f5d031e3862d6840acd4bb136cadeaf6a6
waveout: Fix compile warnings

* Include pulse/util.h for pa_thread_make_realtime.
* Explicitly cast HWAVEOUT to UINT_PTR for waveOutGetDevCaps.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/457>
src/modules/module-waveout.c