smallmodel
f67a7c6621
List available devices and use Generic Software if Generic Hardware is the default
2024-08-22 13:30:04 +02:00
smallmodel
4839a2026b
Fix string casting
2024-08-22 12:43:18 +02:00
smallmodel
219dbbb5b7
Open the default device by passing in the default device name instead of NULL
2024-08-22 12:39:14 +02:00
smallmodel
a399fdf6cf
Removed useless comments
2024-08-17 21:07:25 +02:00
smallmodel
783c24d6f7
Fix sound never playing from entities that are not sent to clients
2024-08-17 17:24:17 +02:00
smallmodel
1254146223
Fix streamed sound stopping before end
2024-08-17 11:09:35 +02:00
smallmodel
deb18c53b7
Implement streaming support for OpenAL
...
See #333 , and #324
2024-08-12 20:26:17 +02:00
smallmodel
3af24ee0ea
Exclude new sound CPP files directly when not using the new sound system instead of using #ifdef
2024-08-09 20:30:35 +02:00
smallmodel
cd6ec5e3a7
Fix streamed sound, use 2D instead with properly implemented panning
2024-08-06 18:43:15 +02:00
smallmodel
279b1413ec
Clear the active music when stopping the triggered music
2024-08-05 19:09:29 +02:00
smallmodel
9c5297882c
Renamed CHANNEL_FLAG_PLAYABLE to CHANNEL_FLAG_PLAY_DEFERRED
2024-08-05 18:49:41 +02:00
smallmodel
a6d508d791
Fix sounds replaying when unpausing
...
This caused some sounds to play again when saving
2024-08-05 18:49:16 +02:00
smallmodel
c5ef60040a
Fix sounds not being resumed properly after loading from save
2024-07-22 20:44:00 +02:00
smallmodel
757b4849f8
Add a fix to load the music from save
...
This commit implements code to get/set sample offset in an OpenAL channel and saves the music filename/offset into the file. This only works by using the experimental sound system, so it partially fixes #327
2024-07-22 20:13:03 +02:00
smallmodel
5816391e9b
Fixes loopsound not properly working (not playing, or not being 3D)
2024-07-02 20:25:08 +02:00
smallmodel
543c00037a
Implements sample playback rate
2024-07-02 20:10:54 +02:00
smallmodel
d5f435ee90
Makes loops work as they should
2024-07-02 20:01:01 +02:00
smallmodel
02e2e92d36
Uses linear sound distance model
2024-07-02 19:30:29 +02:00
smallmodel
a0d3333ebb
Fixes chan->bufferdata not being set to NULL when released
2024-07-02 18:45:51 +02:00
smallmodel
9615fafc1e
Fixes incorrect usage of DotProduct result in an integer
2024-07-01 19:03:21 +02:00
smallmodel
5fc2425f3a
Set the mindist/maxdist for 3D sounds
2024-07-01 18:52:04 +02:00
smallmodel
eefe8ee2d1
Allow 3D / pan with streamed or MP3 sounds
2024-07-01 18:17:04 +02:00
smallmodel
edb1cb0ebe
Renamed SFX_FLAG_NO_DATA
to SFX_FLAG_STREAMED
2024-07-01 18:05:24 +02:00
smallmodel
140242a761
Fixes MP3 files like dialog improperly working
2024-07-01 18:00:20 +02:00
smallmodel
ae13be0c37
Fixes OpenAL errors
2024-07-01 17:39:47 +02:00
smallmodel
74ff3b920e
Fixes OpenAL 2D origin
2024-07-01 17:39:32 +02:00
smallmodel
2cd6b981f1
Puts the volume gain constant in a variable
2024-07-01 16:46:54 +02:00
smallmodel
0a634c633b
Fixed crash when loading MP3 in OpenAL
2024-01-28 19:41:31 +01:00
smallmodel
ac02afaae6
Don't spam the console with OpenAL errors
2024-01-21 23:48:49 +01:00
smallmodel
55582a85ab
Fixed entityNum callback
2024-01-18 20:39:04 +01:00
smallmodel
56b2971dee
Fixed AL positioning and volume
2024-01-17 20:44:32 +01:00
smallmodel
1fd7bd3fa5
Fixed MP3 loading and improperly configured channels
2024-01-16 20:54:41 +01:00
smallmodel
970d72cf07
Implemented snd_openal_new.cpp
2024-01-15 23:04:25 +01:00
smallmodel
032eb11cfb
Implemented various methods
2024-01-12 00:04:36 +01:00
smallmodel
e936a0b995
Added more declarations
2024-01-08 20:03:25 +01:00
smallmodel
21d0675035
Using vec3_t instead of a pointer to float
2024-01-07 23:42:32 +01:00
smallmodel
af8c92f090
Added public OPENAL driver declarations
2024-01-07 23:36:32 +01:00
smallmodel
04e0242422
Added source files for OpenAL FAKK (unimplemented)
2024-01-07 20:10:53 +01:00