mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-21 14:57:56 +00:00
minor corrections.
This commit is contained in:
parent
fef3329a54
commit
3b61ea541c
|
@ -220,9 +220,6 @@ namespace OpenTK.OpenAL.Enums
|
||||||
///<summary>When this flag is set, the high-frequency decay time automatically stays below a limit value that's derived from the setting of the property AirAbsorptionGainHF. Unit: (0) False, (1) True Range [False, True] Default: True</summary>
|
///<summary>When this flag is set, the high-frequency decay time automatically stays below a limit value that's derived from the setting of the property AirAbsorptionGainHF. Unit: (0) False, (1) True Range [False, True] Default: True</summary>
|
||||||
EaxReverbDecayHFLimit = 0x0017,
|
EaxReverbDecayHFLimit = 0x0017,
|
||||||
|
|
||||||
AL_EFFECT_FIRST_PARAMETER = 0x0000,// deprecated?
|
|
||||||
AL_EFFECT_LAST_PARAMETER = 0x8000, // deprecated?
|
|
||||||
|
|
||||||
/// <summary>Used with the enum EfxEffectType as it's parameter.</summary>
|
/// <summary>Used with the enum EfxEffectType as it's parameter.</summary>
|
||||||
EffectType = 0x8001,
|
EffectType = 0x8001,
|
||||||
}
|
}
|
||||||
|
@ -344,9 +341,6 @@ namespace OpenTK.OpenAL.Enums
|
||||||
///<summary>A list of valid Int32 Filter/GetFilter parameters</summary>
|
///<summary>A list of valid Int32 Filter/GetFilter parameters</summary>
|
||||||
public enum EfxFilteri : int
|
public enum EfxFilteri : int
|
||||||
{
|
{
|
||||||
AL_FILTER_FIRST_PARAMETER = 0x0000, // deprecated?
|
|
||||||
AL_FILTER_LAST_PARAMETER = 0x8000, // deprecated?
|
|
||||||
|
|
||||||
/// <summary>Used with the enum EfxFilterType as Parameter to select a filter logic.</summary>
|
/// <summary>Used with the enum EfxFilterType as Parameter to select a filter logic.</summary>
|
||||||
FilterType = 0x8001,
|
FilterType = 0x8001,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Version History:
|
Version History:
|
||||||
|
|
||||||
Alpha v0.1 - 0.8
|
Alpha v0.1 - 0.9
|
||||||
|
|
||||||
- Alut: The following functions are not bound/imported. Issue of undoing C malloc to prevent memory leaks.
|
- Alut: The following functions are not bound/imported. Issue of undoing C malloc to prevent memory leaks.
|
||||||
"alutLoadMemoryFromFile, alutLoadMemoryFromFileImage, alutLoadMemoryHelloWorld, alutLoadMemoryWaveform"
|
"alutLoadMemoryFromFile, alutLoadMemoryFromFileImage, alutLoadMemoryHelloWorld, alutLoadMemoryWaveform"
|
||||||
|
@ -36,9 +36,11 @@ Alpha v0.95
|
||||||
- commented out debugging Console.WriteLines, replaced errormessages with Trace.Writeline
|
- commented out debugging Console.WriteLines, replaced errormessages with Trace.Writeline
|
||||||
- Added description for most enums.
|
- Added description for most enums.
|
||||||
|
|
||||||
|
Alpha v0.96
|
||||||
|
- Removed: AL_FILTER_FIRST_PARAMETER, AL_FILTER_LAST_PARAMETER, AL_EFFECT_FIRST_PARAMETER, AL_EFFECT_LAST_PARAMETER
|
||||||
|
they were merely used to reserve the range 0x0000 - 0x8000 for future filters/effects.
|
||||||
|
- some spelling errors corrected
|
||||||
|
|
||||||
Todo for beta:
|
Todo for beta:
|
||||||
- Identify: AL_FILTER_FIRST_PARAMETER, AL_FILTER_LAST_PARAMETER
|
|
||||||
AL_EFFECT_FIRST_PARAMETER, AL_EFFECT_LAST_PARAMETER
|
|
||||||
- replace EaxEfx reverbs with Efx reverbs.
|
- replace EaxEfx reverbs with Efx reverbs.
|
||||||
- keep both reverb preset formats, or delete EaxEfxReverb presets?
|
- keep both reverb preset formats, or delete EaxEfxReverb presets?
|
|
@ -75,7 +75,7 @@ namespace OpenTK.OpenAL
|
||||||
AL_STORAGE_HARDWARE == 0 ||
|
AL_STORAGE_HARDWARE == 0 ||
|
||||||
AL_STORAGE_ACCESSIBLE == 0 )
|
AL_STORAGE_ACCESSIBLE == 0 )
|
||||||
{
|
{
|
||||||
Trace.WriteLine("Token values could not be retrieved.");
|
Trace.WriteLine( "X-Ram: Token values could not be retrieved." );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ namespace OpenTK.OpenAL
|
||||||
Imported_SetBufferMode = (Delegate_SetBufferMode) Marshal.GetDelegateForFunctionPointer( AL.GetProcAddress( "EAXSetBufferMode" ), typeof( Delegate_SetBufferMode ) );
|
Imported_SetBufferMode = (Delegate_SetBufferMode) Marshal.GetDelegateForFunctionPointer( AL.GetProcAddress( "EAXSetBufferMode" ), typeof( Delegate_SetBufferMode ) );
|
||||||
} catch ( Exception e )
|
} catch ( Exception e )
|
||||||
{
|
{
|
||||||
Trace.WriteLine("Attempt to marshal function pointers with AL.GetProcAddress failed. " + e.ToString( ));
|
Trace.WriteLine( "X-Ram: Attempt to marshal function pointers with AL.GetProcAddress failed. " + e.ToString( ) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,9 +115,9 @@ namespace OpenTK.OpenAL
|
||||||
{
|
{
|
||||||
/// <summary>Put an Open AL Buffer into X-RAM if memory is available, otherwise use host RAM. This is the default mode.</summary>
|
/// <summary>Put an Open AL Buffer into X-RAM if memory is available, otherwise use host RAM. This is the default mode.</summary>
|
||||||
Automatic = 0,
|
Automatic = 0,
|
||||||
/// <summary>Force an Open AL Buffer into X-RAM (good for non-streaming buffers)</summary>
|
/// <summary>Force an Open AL Buffer into X-RAM, good for non-streaming buffers.</summary>
|
||||||
Hardware = 1,
|
Hardware = 1,
|
||||||
/// <summary>Force an Open AL Buffer into 'accessible' (currently host) RAM (good for streaming buffers)</summary>
|
/// <summary>Force an Open AL Buffer into 'accessible' (currently host) RAM, good for streaming buffers.</summary>
|
||||||
Accessible = 2,
|
Accessible = 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue