From 40bd7adda86182ee967fe5c37977700f99b843b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 7 Nov 2015 19:16:34 +0100 Subject: [PATCH] Audio: added OpenAL Doxygen page. Now the \requires_al_extension command works. --- Doxyfile | 1 + doc/openal.dox | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 doc/openal.dox diff --git a/Doxyfile b/Doxyfile index e288b5e36..2a9f9a10d 100644 --- a/Doxyfile +++ b/Doxyfile @@ -280,6 +280,7 @@ ALIASES = \ "fn_alc{1}=`alc\1()`" \ "def_al{1}=`AL_\1`" \ "def_alc{1}=`ALC_\1`" \ + "requires_al_extension=@xrefitem requires-al-extension \"Requires OpenAL extension\" \"Functionality requiring specific OpenAL extension\"" \ "al_extension{2}=AL_\1_\2" \ "alc_extension{2}=ALC_\1_\2" diff --git a/doc/openal.dox b/doc/openal.dox new file mode 100644 index 000000000..ab3673cb3 --- /dev/null +++ b/doc/openal.dox @@ -0,0 +1,50 @@ +/* + This file is part of Magnum. + + Copyright © 2010, 2011, 2012, 2013, 2014, 2015 + Vladimír Vondruš + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. +*/ + +namespace Magnum { + +/** @page openal OpenAL +@brief State of OpenAL support, version and extension requirements. + +@todo OpenAL mapping table + +State of implementation of particular OpenAL extensions is in the following +table. + +- @subpage openal-support + +@section openal-required-extensions Extension requirements + +The @ref Audio library requires at least stock OpenAL 1.1 with no extensions, +but some specific functionality has greater requirements. Following is the list +of features requiring specific OpenAL extensions. + +- @subpage requires-al-extension + +@page requires-al-extension Functionality requiring specific OpenAL extension + +*/ + +}