SirLynix
6757de1be8
Add end-of-line spaces checker
2024-01-26 10:43:00 +01:00
SirLynix
d2e2c075b4
Update copyright year
2024-01-02 12:02:14 +01:00
SirLynix
73fc061412
Audio/Music: Remove unnecessary code
...
Play() blocks until the thread (and source) has started
2023-12-03 15:30:39 +01:00
Lynix
150787971a
Audio/Music: Fix possible data-race in GetPlayingOffset
2023-11-29 22:26:19 +01:00
Lynix
079f153640
Minor fixes
2023-11-28 20:05:09 +01:00
SirLynix
bf0d7674c7
Core: Add thread extension functions
2023-06-07 13:35:40 +02:00
SirLynix
9b4d297c04
Update includes for new NazaraUtils version
2023-03-19 13:01:56 +01:00
SirLynix
f98cbcd00a
Copyright year update
2023-01-22 17:41:18 +01:00
Jérôme Leclercq
dd421a6385
Replace float/UInt64 durations by a more precise Time class ( #388 )
...
Improve Clock class with atomic RestartIfOver method and allows to choose required precision
2022-12-29 21:31:46 +01:00
Jérôme Leclercq
a237102de9
Music: fix concurrent access on destruction
2022-06-07 22:47:54 +02:00
SirLynix
16922a9519
Audio/Music: Fix datarace
2022-06-07 20:18:26 +02:00
Jérôme Leclercq
03e2801dbe
Split engine to packages NazaraUtils and NZSL ( #375 )
...
* Move code to NazaraUtils and NZSL packages
* Reorder includes
* Tests: Remove glslang and spirv-tools deps
* Tests: Remove glslang init
* Remove NazaraUtils tests and fix Vector4Test
* Fix Linux compilation
* Update msys2-build.yml
* Fix assimp package
* Update xmake.lua
* Update xmake.lua
* Fix shader compilation on MinGW
* Final fixes
* The final fix 2: the fix strikes back!
* Disable cache on CI
* The return of the fix™️
2022-05-25 19:36:10 +02:00
SirLynix
21a38fb31b
Audio: Add some fixes and tests
2022-05-06 12:41:02 +02:00
SirLynix
947cc96923
Audio/Music: Fix Play() call after music stopped
2022-04-21 18:25:42 +02:00
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
6165b3a101
Audio: Rewrite audio module
2022-03-17 18:15:53 +01:00
SirLynix
89c7bbf197
Update copyright date
2022-01-01 15:30:09 +01:00
Jérôme Leclercq
ed7ab31933
Apply copyright fix to all files
2021-10-26 14:31:35 +02:00
Jérôme Leclercq
f0b26efcd3
Audio/Music: Fix Seek method
2021-06-03 17:20:09 +02:00
Jérôme Leclercq
28f1d8aa76
Audio: Minor fixes
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
8cdd0b51cb
Upgrade Audio (part 2)
2021-05-25 10:40:07 +02:00
Jérôme Leclercq
b936946154
Upgrade NazaraAudio
2021-05-25 10:40:07 +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
3c4c0fab66
Audio: Make Music, Sound, SoundEmitter movable
2018-04-08 17:51:25 +02: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
Lynix
3193aef29a
Audio/Music: Improve documentation
2016-11-22 14:25:35 +01:00
Lynix
aabf10cc61
Audio: Fix some type warning
...
Former-commit-id: 9ed6d64e771e77d03b91060823efb4236739914b [formerly 0efc1b14cd61f3d33fc642dbe4eb6bf05d58ec7e] [formerly dbc079525b48a2efb8a7917b4b376a318f8d5fae [formerly 7c202e02ac2a8b745208e1b852ff44d2169ebaf0]]
Former-commit-id: 27a65bcbd5e499dcc741f76a5c0a31bc9ae09e60 [formerly 97ed7176fd1f0f906229d19e68aedc335a7ca420]
Former-commit-id: 1779855a4f20dc4216648aaed59542fd8c6d7bc8
2016-09-04 19:56:11 +02:00
Gawaboumga
8336c05522
Documentation for module: Audio
...
Former-commit-id: acb9e00a7af8bf1c36f42b45fe7e7df99e03c0f9
2016-05-30 13:36:52 +02:00
Lynix
0d75f8ab2e
Audio/Music: Fix warning
...
Former-commit-id: d52ff2bc6c885b4563867ed1a01b05b6d46419f8
2016-04-18 12:37:20 +02:00
Lynix
6d146e30c8
Audio/Music: Fix GetPlayingOffset and SetPlayingOffset
...
Former-commit-id: 71d19338612e84105723e28b4fc38510472e89ef
2016-04-17 19:28:44 +02:00
Lynix
de8f8e0743
Audio/Music: Fix infinite loop
...
Former-commit-id: 027a5c19500c774e13ed51f47b16e754dfb44721
2016-04-02 18:55:55 +02:00
Lynix
ed961f5ba8
Core: Merge InputStream and OutputStream to Stream
...
Remove serialization support from Stream
Former-commit-id: 7a761e4fcd07cab561f13e4709c4492ed18da88a
2015-11-20 13:52:49 +01:00
Lynix
df8da275c4
Switch from Nz prefix to namespace Nz
...
What a huge commit
Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
2015-09-25 19:20:05 +02:00
Lynix
dea3fb4e39
Convert spaces to tabs
...
Former-commit-id: b459cfe0c83f651cc660d42f7d3014c3b146f345
2015-09-24 00:55:57 +02:00
Lynix
ce3bbf6c78
Audio: Uniformize SampleCount/SampleRate type
...
Former-commit-id: a67b0f10a4aeb1399834221d32859ab0e376813e
2015-09-24 00:39:48 +02:00
Lynix
fc65b30f84
Improved code based on CppCheck results
...
None of this should change the engine's behavior, but the code is better
this way.
Former-commit-id: 0127769848fc1f7fc8006ee607985cfc0ead2965
2015-06-05 13:25:17 +02:00
Lynix
ea8d683624
Updated copyright year
...
(532 files, wow)
Former-commit-id: cbb31f1124a86720bd3a54fe589a0f849a87b434
2015-01-21 20:53:01 +01:00
Lynix
c24e0ef8fa
Improved Music.cpp (Added comments)
...
Former-commit-id: 0a4aabbafd3d76d280ac98332fa2059b1ad73b39
2014-12-07 02:58:52 +01:00
Lynix
4a1d7bc503
Improved some code (smart pointers)
...
Former-commit-id: 67729603eb41ce06c9b3857311146b7cd6faa4e9
2014-07-24 10:33:26 +02:00
Lynix
c4b10dddda
Big config/debug update
...
Added config checkers
Macro no longer use suffixes
Moved MemoryManager to upper directory
Renamed *_MEMORYMANAGER to *_MANAGE_MEMORY
Renamed AUDIO_STREAMEDBUFFERCOUNT to AUDIO_STREAMED_BUFFER_COUNT
Renamed CORE_REAL_PRECISION to CORE_DECIMAL_DIGITS
Renamed DEBUG_MEMORYMANAGER_DISABLE_REDEFINITION to
DEBUG_NEWREDEFINITION_DISABLE_REDEFINITION
Renamed GRAPHICS_MAX_LIGHTPERPASS to GRAPHICS_MAX_LIGHT_PER_PASS
Renamed UTILITY_FORCE_DECLARATION_STRIDE_MULTIPLE_OF_32 to
UTILITY_VERTEX_DECLARATION_FORCE_STRIDE_MULTIPLE_OF_32
Former-commit-id: 81ef836ac9f092ac471f60e544bb7c7c6370593c
2014-07-08 10:56:37 +02:00
Lynix
13e1cadcdd
Alphabetical commit
...
Former-commit-id: 88c2aad1451a941f7b3afa83063d9383fc8b40d2
2014-06-15 01:13:40 +02:00
Lynix
b4c6dac441
Updated copyright years to 2014 for some missed files
...
Former-commit-id: 932e421ad0c8ddc8fb9f010f6e3015b7740f3d59
2014-06-05 21:46:22 +02:00
Lynix
faed82426f
Fixed missing implementation of Music::GetFormat
...
Former-commit-id: e3d8ca822a46d00a5eec6e0512dd089e88049cf7
2014-01-10 20:01:33 +01:00
Lynix
601346a566
Fixed possible bug in NzMusic
...
Caused by sending a non-updated buffer to OpenAL
Former-commit-id: 4441bcc9cd8cee874ba8bc5f66f1234cfffd3621
2014-01-09 21:04:58 +01:00