mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-07 22:59:50 +00:00
Horrible hack to attenuate stereo sources properly.
OpenAL refuses to pan stereo sources, so apparently it needs to be done this way.
This commit is contained in:
parent
e6680da428
commit
f5da61fe78
4 changed files with 84 additions and 11 deletions
|
@ -101,6 +101,8 @@ typedef int FMOD_MODE;
|
|||
#define FMOD_3D_LINEARROLLOFF (1<<10)
|
||||
#define FMOD_DEFAULT (FMOD_2D | FMOD_HARDWARE)
|
||||
|
||||
typedef int FMOD_SOUND_FORMAT;
|
||||
typedef int FMOD_SOUND_TYPE;
|
||||
|
||||
typedef int FMOD_CREATESOUNDEXINFO;
|
||||
|
||||
|
@ -137,6 +139,7 @@ namespace FMOD
|
|||
{
|
||||
public:
|
||||
FMOD_RESULT release();
|
||||
FMOD_RESULT getFormat(FMOD_SOUND_TYPE *type, FMOD_SOUND_FORMAT *format, int *channels, int *bits); // only *channels implemented
|
||||
};
|
||||
|
||||
class DSP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue