Commit graph

15 commits

Author SHA1 Message Date
Christoph Oelckers
c5b6c0d317 added missing check for AMF format in module loader 2022-07-18 11:03:46 +02:00
Chris Robinson
ae70ea40f2 Better handle various formats in SndFileSong 2021-11-06 09:00:11 +01:00
Chris Robinson
db05f4a8ef Implement ZMusic_GetStreamInfo using GetStreamInfoEx 2021-11-06 09:00:11 +01:00
Chris Robinson
3696d8fa27 Add a new ZMusic_GetStreamInfoEx function
This provides cleaner info about the stream format
2021-11-06 09:00:11 +01:00
Christoph Oelckers
6bcbc7aeb5 - multiply master volume for module player by 4.
The default here is far too quiet compared to the other players and needs compensation.
2021-03-14 08:34:56 +01:00
Braden Obrzut
b3c4b55dab Overhaul CMakeLists to conform with modern CMake
- Prefer target properties instead of setting variables whenever possible.
  A zmusic-obj target now exists to represent the commonality between zmusic
  and zmusiclite.
- Factored out as much as possible from global settings to per target settings
  which will make it easier to support using ZMusic as a submodule. Moved
  helper functions into a ZUtility.cmake module.
- We now generate and install ZMusicConfig.cmake so find_package(ZMusic)
  will work either automatically or given ZMusic_DIR is set.
- CPack is enabled although some refinement is still needed.
- Requires CMake >= 3.13 which is newer than I would normally like, but given
  how no one like to refactor these things it may be better to deal with the
  short term pain of going a little aggressive on the requirement in order to
  avoid having to make things ugly. Especially given that these scripts have
  a tendency to be copy/pasted into sister projects. CMake itself has very few
  dependencies so users of old Linux distros should be able to easily compile
  a supported version of CMake.
- On Windows CMake >= 3.15 is required for redistributable results.
- Cleaned out bits that were copied from GZDoom but not relevant to ZMusic.
2021-02-16 01:38:10 -05:00
Dennis Meuwissen
9e950c164b Add detection of Opus comment tags in Ogg files. 2020-11-04 11:23:51 +01:00
alexey.lysiuk
fbb3a50e9a - fixed wrong point values in loop tags parser
https://forum.zdoom.org/viewtopic.php?t=67812
2020-03-13 13:26:29 +02:00
alexey.lysiuk
b071c53aa5 - fixed switching of subsong for already playing GME song
https://forum.zdoom.org/viewtopic.php?t=67564
2020-02-22 13:12:11 +02:00
Christoph Oelckers
9097591879 - fix for loop tag parser. 2020-02-15 09:59:54 +01:00
Christoph Oelckers
92563245ce - added more loop tag labels as used by EDuke32's sound engine. 2020-02-11 20:02:59 +01:00
Christoph Oelckers
dc214dbdd6 - backported OPL init fix. 2020-02-08 10:07:52 +01:00
Christoph Oelckers
17d7942d02 - made the global interface c compatible. Added an empty C source so that incompatibilities immediately trigger compile errors.
- simplified the message printing interface to a single function.
2020-01-11 12:47:07 +01:00
Christoph Oelckers
c1bbdcc849 - conditionalize the configuration depending on available content, so that the lite variant also builds successfully. 2020-01-04 12:20:56 +01:00
Christoph Oelckers
a4eae42ec5 - initial commit 2020-01-02 17:52:30 +01:00