Commit Graph

184 Commits

Author SHA1 Message Date
Jérôme Leclercq
82641c6653 Audio: Add dummy device (in case OpenAL fails to load) and unifiate unit tests 2022-03-18 19:03:57 +01:00
Jérôme Leclercq
667a4a0c08 Audio: Handle AudioBuffer compatibility
OpenAL buffers are shared between contextes
2022-03-17 18:15:53 +01:00
Jérôme Leclercq
01061380ee Audio/AudioDevice: Improve GetListenerRotation 2022-03-17 18:15:53 +01:00
Jérôme Leclercq
6165b3a101 Audio: Rewrite audio module 2022-03-17 18:15:53 +01:00
Jérôme Leclercq
6bd9f1a9e4 Add unity build support 2022-03-15 12:44:21 +01:00
Jérôme Leclercq
8a3a8547dc Add light support (WIP) 2022-02-02 12:55:39 +01:00
SirLynix
89c7bbf197 Update copyright date 2022-01-01 15:30:09 +01:00
Jérôme Leclercq
a02b1952c0 Apply header order fix 2021-10-28 09:53:56 +02:00
Jérôme Leclercq
f491ee1e38 Apply inclusion fix 2021-10-27 18:09:19 +02:00
Jérôme Leclercq
93ec196dc4 Apply header guard check 2021-10-26 15:52:46 +02:00
Jérôme Leclercq
ed7ab31933 Apply copyright fix to all files 2021-10-26 14:31:35 +02:00
Jérôme Leclercq
40bcfb1323 Audio: Allow to skip loaders 2021-06-20 14:08:12 +02:00
Jérôme Leclercq
20e982f5f2 Audio: Don't show errors when trying to load OpenAL library 2021-06-05 19:07:23 +02:00
Jérôme Leclercq
4b3b595a99 Minor fixes 2021-06-04 18:02:28 +02:00
Jérôme Leclercq
0dd5e92a50 Audio: Add FLAC support 2021-06-03 17:21:15 +02:00
Jérôme Leclercq
f0b26efcd3 Audio/Music: Fix Seek method 2021-06-03 17:20:09 +02:00
Jérôme Leclercq
c243217dd8 Audio/minimp3Loader: Fix some warnings 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
577643d128 Audio: Remove libsndfile loader 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
312a6d3ba8 Fix libvorbisfile dependency 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
d5c27a756b Audio: Fix AudioFormat names (U16 -> I16) 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
2d16cf81d1 Audio: Minor fixes 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
79b6b87379 Audio: Add .ogg loader (using libvorbisfile) 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
557c23a9fa Minor stuff 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
2cd09833a4 Minor fixes 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
7ced0e5f08 Audio: Add .wav loader (using dr_wav) 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
28f1d8aa76 Audio: Minor fixes 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
d121393267 Audio: Add mp3 support + new demo 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
001c9a6a61 Audio/Music: Rework Play() (ensure music has started before return and handle exceptions in thread) 2021-05-25 12:12:15 +02:00
Jérôme Leclercq
874fb3542e Convert all remaining enums to enum classes (!) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
8cdd0b51cb Upgrade Audio (part 2) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
4bcb63d776 Audio: Commit missing files 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
b936946154 Upgrade NazaraAudio 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
a52103a641 Rework ResourceLoader, ResourceManager and ObjectLibrary
They're no longer static
2021-05-25 10:40:07 +02:00
Jérôme Leclercq
223b41490b Fix sndfile inclusion 2021-05-14 03:35:32 +02:00
ImperatorS79
4bf49876c6 Build Nazara on macos up to Nazara_network (not included 2020-11-21 20:05:19 +01:00
Jérôme Leclercq
2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Jérôme Leclercq
36d3c51eeb Add module configurations 2020-09-17 20:10:39 +02:00
Jérôme Leclercq
fd1d416510 Rename Module to ModuleBase 2020-09-11 13:39:18 +02:00
Jérôme Leclercq
a7fac3beb8 Rework modules 2020-09-10 20:12:09 +02:00
Jérôme Leclercq
94523980fa Fix Audio & Physics compilation 2020-08-27 19:26:04 +02:00
Lynix
c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Jérôme Leclercq
ed46c87781 Refactor the way resources are loaded (#191)
* WIP

* WIP

* Font works

* WIP: Only Music remains

* Looks like it's working

* Fix oopsie

* Core/ObjectRef: Add cast functions

* Update ChangeLog.md

* Audio/SoundStream: Make sound stream thread-safe
2018-10-28 01:53:11 +02:00
Lynix
c9904e7d20 Audio/Sound: Fix copy constructor not copying looping state 2018-04-08 18:50:42 +02:00
Lynix
3c4c0fab66 Audio: Make Music, Sound, SoundEmitter movable 2018-04-08 17:51:25 +02:00
germinolegrand
1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Gawaboumga
bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00
DrLynix
f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix
057de1544b Audio/Music: Fix Stop not resetting playing offset if music was already stopped
Also prevented a useless seek at destruction
2016-11-24 20:17:30 +01:00
Lynix
e7ddcaf876 Audio/Music: Fix Stop() not resetting playing offset 2016-11-24 12:15:16 +01:00