Vladimír Vondruš
7853009aa1
Audio: make the global context variable file-local.
...
Like everywhere else.
7 years ago
Vladimír Vondruš
59aade762a
Audio, GL: add tests for global state shared across libraries.
...
Both currently fail on static builds.
7 years ago
Vladimír Vondruš
b0546c4eda
Audio: improve extension tests similarly to GL.
7 years ago
Vladimír Vondruš
0d71c1d1cc
Search plugins relative to library DLLs on Windows.
...
Makes Windows users' lives slightly easier.
7 years ago
Vladimír Vondruš
be0bce8ded
Audio: ffs, MSVC.
7 years ago
Vladimír Vondruš
8af19f21f0
Audio: make it possible to disable OpenAL extensions as well.
...
Finally, a feature parity.
7 years ago
Vladimír Vondruš
abf740a709
Audio: pass command-line options to Context in magnum-al-info.
7 years ago
Vladimír Vondruš
c1c1c146f8
Audio: pass command-line arguments to Context in all AL tests.
7 years ago
Vladimír Vondruš
2c280f6b97
Audio: ignore command-line options not related to audio.
7 years ago
Vladimír Vondruš
922ff64869
Audio: test the quiet logging.
7 years ago
Guillaume Jacquemin
7d7ebb379c
Audio: add support for quiet logging in Context.
7 years ago
Vladimír Vondruš
cdb69423ec
Audio: minor cleanup, rename Buffer::length() to sampleCount().
...
* use Magnum types in public API
* make getters const consistently to Source getters
* Buffer::length() could be confused with size(), rename it to make it
more explicit.
7 years ago
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