Sam Hocevar
df4471bef8
audio: NX support.
6 년 전
Sam Hocevar
512eba5bf6
audio: fix build with SDL_Mixer disabled.
6 년 전
Sam Hocevar
4eec8450d3
audio: rename format enum entries to avoid collisions.
6 년 전
Sam Hocevar
68c2530b16
audio: refactor audio streaming mechanism.
Rename “channels” to “tracks” when talking about the mixing channels, to
avoid confusion with channels in the context of mono/stereo/5.1. Also allow
conversions between various formats and frequencies.
To do: allow to query the current audio device’s preferred frequency when
the client application is able to send the best possible data.
6 년 전
Sam Hocevar
b11e6bd537
audio: more feedback upon initialisation.
6 년 전
Sam Hocevar
6f0155a50e
audio: allow to load a sample from raw data.
6 년 전
Sam Hocevar
9a0b6e4a9a
Build: fix several compilation warnings.
6 년 전
Sam Hocevar
e3b1db2c1e
audio: clean up code.
6 년 전
Sam Hocevar
a1ef3552bc
No longer look for SDL/SDL*.h headers.
We now just look for SDL2/SDL.h (the regular location) and SDL.h (when
the user provides their own location for this header).
7 년 전
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
8 년 전
Sam Hocevar
a45a0d45d1
audio: do not free buffers that SDL may be using.
9 년 전
Sam Hocevar
7619caef3e
audio: minimal streaming API
This will allow us to generate sounds on the fly on several dedicated
channels. Until now we could only play fully loaded samples.
9 년 전
Sam Hocevar
89a8add7bf
audio: reorganise files
9 년 전
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
9 년 전
Sam Hocevar
1b2a4ca8d1
build: fix issues with SDL detection on 32-bit systems.
10 년 전
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 년 전
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 년 전
jeunathe
958d8c403e
add methods to Audio class to mute/unmute and change volume per channel
12 년 전
Sam Hocevar
578ec1d413
audio: add a simple Stop() method to samples.
12 년 전
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 년 전
Sam Hocevar
9b5880936c
build: tweak everything to allow building with SDL on the Raspberry Pi.
13 년 전
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
13 년 전
Sam Hocevar
beb141dd5b
build: fix Win64 compilation with mingw64, using an updated SDL build.
14 년 전
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 년 전
Sam Hocevar
e41dd3a949
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
15 년 전
Sam Hocevar
21fd077d12
Reduce audio latency by using 1K samples instead of 4K.
15 년 전
Sam Hocevar
640735731a
Add preliminary support for sound samples. Implement click.
15 년 전
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
15 년 전
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
15 년 전
Sam Hocevar
0d78ca44ca
Implement Timer::PollSeconds(), if necessary.
15 년 전
Sam Hocevar
8bfb98c160
Implement a better timing mechanism for fixed framerate. Accuracy is
sub-millisecond but can be improved if we get rid of SDL timers.
15 년 전