2013-01-10 01:46:35 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2018-12-28 10:42:24 +00:00
|
|
|
* Copyright (C) 2018 - Krzysztof Haładyn
|
2017-12-12 07:55:31 +00:00
|
|
|
*
|
2013-01-10 01:46:35 +00:00
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2011-08-20 01:22:19 +00:00
|
|
|
|
2018-12-28 10:42:24 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0602 /*_WIN32_WINNT_WIN8*/)
|
|
|
|
/* XAudio 2.7 it part of the old DirectX SDKs. XAudio 2.8+ is part of the
|
|
|
|
* Windows OS itself (starting from Windows 8). Since UWP lets you access
|
|
|
|
* only libraries that are built-in to the OS, the headers had to be
|
|
|
|
* upgraded to the newer version to get audio support working. */
|
|
|
|
#include "xaudio29.h"
|
2013-01-10 01:46:35 +00:00
|
|
|
#else
|
2018-12-28 10:42:24 +00:00
|
|
|
/* The old version still has to be there since XAudio 2.8 is not available
|
|
|
|
* on Windows 7 and earlier */
|
|
|
|
#include "xaudio27.h"
|
2013-01-10 01:46:35 +00:00
|
|
|
#endif
|