Guillaume Jacquemin
8029abca07
Audio: add support for buffer loop points.
...
This feature requires the AL_SOFT_loop_points extension.
7 years ago
Guillaume Jacquemin
f5302edcc1
Audio: add getters to Buffer.
7 years ago
Vladimír Vondruš
32a95bb532
Audio: Apple, tell me, what makes a buffer non-undetermined?
7 years ago
Guillaume Jacquemin
1104d8bb15
Audio: add an implementation and test for Source::type().
...
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
7 years ago
Vladimír Vondruš
c442c07190
Audio: add debug operator for Source::Type.
7 years ago
Guillaume Jacquemin
b9fb03ab8e
Audio: add buffer (un)queuing to Source.
7 years ago
Vladimír Vondruš
b05c887375
Audio, GL: make the extension lists constexpr.
...
The Audio::Extension::extensions() and GL::Extension::extensions()
functions now return an ArrayView instead of a reference to std::vector.
Having a function-local static std::vector is the worst thing ever. Ugh.
7 years ago
Vladimír Vondruš
3626562e1d
Adapted to Corrade changes.
...
Mostly missing includes now.
7 years ago
Vladimír Vondruš
18d8b11ecd
Doc++
7 years ago
Vladimír Vondruš
8ba3489265
Audio: removed deprecated Context::hrtfSpecifier().
...
Deprecated since 2018.02, use hrtfSpecifierString() instead.
7 years ago
Vladimír Vondruš
377719147c
Audio, GL: remove deprecated Context conversion to pointer.
...
Deprecated since 2017.
7 years ago
Vladimír Vondruš
8a036bf910
Audio,Platform: update Emscripten markup for windowless apps as well.
7 years ago
Vladimír Vondruš
e6db895452
Adapted to Corrade changes.
7 years ago
Vladimír Vondruš
a36d8eb033
Remove use of std::reference_wrapper where possible.
...
What's left is *a lot* of places taking monstrous
std::vector<std::reference_wrapper> and that can't be changed to
std::vector<Containers::Reference> in a source-compatible way. Even that
would be only a temporary change, since the goal is to fully avoid
dependency on STL in those cases.
The final version of these APIs should take
Containers::ArrayView<Containers::Reference> and be implicitly
convertible froom e.g. std::vector<Containers::Reference>. That's
definitely possible, but not in time for 2019.01, so instead of forcing
users to temporary pass a `{vec.begin(), vec.size()}` everywhere instead
of just `vec`, I'm rather keeping these APIs intact.
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
b44e6e7c05
Audio: doc++
7 years ago
Vladimír Vondruš
6cc7d2e3a5
Doxygen: extract private virtuals.
7 years ago
Vladimír Vondruš
c231b8c84c
Doc++
7 years ago
Vladimír Vondruš
02276d122b
Audio: return self-reference from all Source APIs.
...
So I can e.g. do
source
.pause()
.setOffsetInSeconds(1.5);
to seek the track.
8 years ago
Vladimír Vondruš
0dd46e7e37
HTTPS!!
8 years ago
Vladimír Vondruš
799d9b80db
Doc++
8 years ago
Vladimír Vondruš
b98dcf76aa
Audio: make the tests compile even if SceneGraph is not enabled.
8 years ago
Vladimír Vondruš
c334d90870
Improve utility documentation even more.
8 years ago
Vladimír Vondruš
f02f2f9a05
Audio: fix the magnum-al-info title.
8 years ago
Vladimír Vondruš
8f6ca904d8
doc: improved and unified docs for command-line utilities.
...
Especially mention how to build them and how to use them with CMake.
Also add a dedicated page for the Magnum::Ui Gallery.
8 years ago
Vladimír Vondruš
b2cb689cdc
Platform: overhaul builtin style+markup for Emscripten apps.
...
What's new:
* The style is consistent with the dark m.css theme that's used on the
website and so provides a bit better "brand identity".
* The canvas is responsive, looking properly on mobile and scaling down
with aspect ratio preservation if the screen is too narrow.
* It's now possible to override canvas size and aspect ratio or make it
"fullscreen", i.e. occupying the whole browser window.
* If the app crashes, a helpful message is printed instead of
everything just being stuck.
8 years ago
Vladimír Vondruš
56c7c23040
Audio: std::abort() needs a header on iOS.
8 years ago
Vladimír Vondruš
e24d948b4d
Audio: make Playable omnidirectional by default.
8 years ago
Vladimír Vondruš
3b88f242cf
Audio: deprecated PlayableGroup::setClean() in favor of Listener::update().
...
No reason to keep the same functionality on two places.
8 years ago
Vladimír Vondruš
6df048eac8
Audio: doc++
...
Compiling code snippets, reworked the totally confused scenegraph
integration docs.
8 years ago
Vladimír Vondruš
5bb358e05d
Audio: cleaned up the scene graph implementation.
...
* De-inlined most of the code
* Reduced includes in headers
* Formatting
* Global variables don't need to be exposed publicly
8 years ago
Vladimír Vondruš
703a664fd2
Audio: ability to defer context creation to a later time.
8 years ago
Vladimír Vondruš
7036bc4ad5
Audio: include cleanup.
8 years ago
Vladimír Vondruš
2527927b21
Audio: make Context only move-constructible.
...
For some reason it was copyable and everything. Also fix the cleanup on
destruction so it can be created more than once.
8 years ago
Vladimír Vondruš
5b01762e33
Audio: test that it's possible to create Context multiple times.
8 years ago
Vladimír Vondruš
259f2da78d
doc: filling up general Emscripten docs.
8 years ago
Vladimír Vondruš
49b0c9d2fc
Audio: Doxygen being shitty again.
8 years ago
Vladimír Vondruš
533ef11aba
Audio: hide implementation from Doxygen.
...
Since the declaration is hidden as well.
8 years ago
Vladimír Vondruš
3a78c4dd5a
Audio: moved Buffer::Format to BufferFormat.
...
More consistent with what's done elsewhere, reduces header dependencies,
allows me to (later) make this independent on the AL library and also
works around a Doxygen bug. Win win!
8 years ago
Vladimír Vondruš
13165580d4
Audio: properly hide forward declarations from Doxygen.
...
Slipped through review half a century ago.
8 years ago
Vladimír Vondruš
ca75aeb6e0
Audio: this was just plain wrong.
8 years ago
Vladimír Vondruš
920db7aa73
Split the Trade library out.
8 years ago
Vladimír Vondruš
d48293c07f
Don't compile pluginSearchPaths() on platforms that don't need it.
8 years ago
Vladimír Vondruš
105cef5efd
No need to use fully qualified name for \debugoperator.
8 years ago
Vladimír Vondruš
d1ed10c0a8
Implement pluginSearchPaths() for all plugin interfaces.
8 years ago
Vladimír Vondruš
93aeac258a
Adapted to Corrade::PluginManager changes.
8 years ago
Vladimír Vondruš
925d1759d9
Improve docs about running test/info executables on embedded platforms.
8 years ago
Vladimír Vondruš
b0e75f077d
Audio: manual indices for extensions.
...
Again to remove the ugly `#line` hack and make KDevelop highlight
happily again. Also added a test for all this.
8 years ago
Vladimír Vondruš
9ab528809d
Audio: use public API of the Extension class.
...
No need to make friends and use underscores.
8 years ago