Commit graph

70 commits

Author SHA1 Message Date
the_fiddler
70a9d8f35e Improved BlittableValueType API (Check, StrideOf methods).
Added AL.BufferData<T> method.
2009-07-19 20:56:17 +00:00
the_fiddler
325ce4aaa2 Added AudioCapture.IsRunning property.
Fixed formatting.
2009-07-19 20:55:18 +00:00
the_fiddler
80697dcc60 Minor formatting cleanup. 2009-07-19 20:51:55 +00:00
the_fiddler
a9352e441b Fixed issue [#1035] (http://www.opentk.com/node/1035 [Audio] SoundData's internal buffer size) 2009-07-19 16:12:40 +00:00
the_fiddler
a1fc3fc13c Removed CurrentAlcError property.
Fixed handling of ObjectDisposedExceptions.
2009-07-17 23:07:17 +00:00
the_fiddler
1fff5cc885 Renamed AudioContext.Default to AudioContext.DefaulDevice.
Improved error checking code.
2009-07-17 23:00:22 +00:00
the_fiddler
bdd49a2aa1 Added SampleFormat and SampleFrequency properties.
Added CheckErrors method.
Renamed GetSamples to ReadSamples and added generic overload.
Improved error checking code.
2009-07-17 22:59:50 +00:00
the_fiddler
61a48526e3 Added CLSCompliant overload to Alc.CaptureOpenDevice. 2009-07-17 22:58:29 +00:00
the_fiddler
d9f8d2e694 Simple whitespace fix. 2009-07-17 22:58:01 +00:00
the_fiddler
60300ffcc1 Added AudioDeviceErrorChecker modeled after OpenTK.Graphics. 2009-07-17 22:57:22 +00:00
the_fiddler
286d13dbd4 Added AudioValueException class. 2009-07-17 22:57:11 +00:00
the_fiddler
8f4a75f9f3 Specify correct sizes for Alc.GetInteger buffers (needs size in integers, not size in bytes). 2009-07-17 21:21:52 +00:00
the_fiddler
68cd6b68db Fixed wrappers for Alc.GetInteger (pin and pass pointer). 2009-07-17 21:21:03 +00:00
the_fiddler
efce51d974 * AudioCapture.cs: Added AudioCapture class that encapsulates openal 'capture' contexts. 2009-07-17 09:47:59 +00:00
the_fiddler
a65ed72e72 Updated license information. 2009-07-17 08:26:32 +00:00
the_fiddler
7d00083bc2 * AudioDeviceEnumerator.cs: Added missing file. 2009-07-17 08:25:33 +00:00
Chrisbrandtner
c41c81613d Merged openal-next branch (rev. 1969) to trunk. Tested with Audio-Info and Parrot examples and works as expected. 2009-07-16 12:49:24 +00:00
the_fiddler
e8cf64a177 Added missing XML docs. 2009-06-28 10:49:10 +00:00
the_fiddler
bc8ab9113c Added missing XML comment to AL class.
Made AL.Lib internal.
2009-06-28 10:38:56 +00:00
the_fiddler
df6671cb4a Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler
070a5b14dc Marked Glu and Alut as obsolete. 2009-06-15 12:43:53 +00:00
the_fiddler
5c40ce638d Fixed a large amount of documentation warnings.
Marked several APIs as obsolete.
2009-06-04 11:22:20 +00:00
the_fiddler
6ff0ed17c4 Fixed missing documentation warnings. 2009-06-04 10:56:07 +00:00
the_fiddler
d92e410cbb Last parameter of Alc.CaptureSamples should be an int, not IntPtr. 2009-05-31 11:10:16 +00:00
the_fiddler
9df8a0c51f Fixed Alc.CaptureSamples according to http://www.opentk.com/node/911. Added convenience overloads. 2009-05-31 11:08:34 +00:00
the_fiddler
65205d8cd5 Fixed sync attribute in AudioContext constructor (patch by erluk). Fixes bug [#830] "AudioContext: Wrong parameters passed to Alc.CreateContext" (http://www.opentk.com/node/830). 2009-05-06 09:09:00 +00:00
the_fiddler
d4aef922bc Fixed all known build warnings, apart from missing xml comments. 2009-03-25 21:53:12 +00:00
the_fiddler
8bb40e5a07 * Audio/*: Cleaned up whitespace.
* AudioContext.cs: Get device name specifier once a device is opened.
2009-03-25 18:41:50 +00:00
the_fiddler
a6f9c2c428 * Audio/AudioContext.cs: Now initializes EFX slots to maximum number supported by hardware. Fixed a potential crash bug during context creation (attribute array should be zero-terminated). 2009-03-13 00:01:17 +00:00
the_fiddler
69b17fa43f Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler
86610324fc Comment out unused code. 2008-12-02 16:01:02 +00:00
the_fiddler
62da31df48 Made ContextHandle a struct to reduce GC pressure (ContextHandles are created per frame).
Added xml documentation for the ContextHandle.
Made the casts between ContextHandles and IntPtrs explicit.
Updated all ContextHandle consumers to reflect the explicit cast.
2008-11-23 20:17:50 +00:00
the_fiddler
dbfc38202b Library should not use Trace output. 2008-11-23 09:34:33 +00:00
the_fiddler
b477ad58de Corrected a grammar mistake. 2008-07-04 19:27:53 +00:00
the_fiddler
2e754ad9ce Prefer Alc.OpenDevice(null) over Alc.OpenDevice(Alc.GetString(0, AlcGetString.DefaultDeviceSpecifier)) 2008-06-22 18:06:32 +00:00
chrisbrandtner
b8989d5d56 Added overloads:
GenSource( out uint )
GenBuffer( out uint )
DeleteSource and DeleteBuffer changed to use 'ref' keyword to be consistent with Gen functions.
GenEffect( out uint )
DeleteEffect( ref uint )
GenFilter( out uint )
DeleteFilter( ref uint )
GenAuxiliaryEffectSlot( out uint );
DeleteAuxiliaryEffectSlot( ref uint ) (changed from previously passing by value, and removed the 's' in name )
renamed "DeleteAuxiliaryEffectSlots( int slot )" to "DeleteAuxiliaryEffectSlot( int slot )"
renamed "int GenAuxiliaryEffectSlots()" to "int GenAuxiliaryEffectSlot()"
New:
ALSourceType GetSourceType( uint sid )
ALSourceState GetSourceState( uint sid )
ALDistanceModel GetDistanceModel( )
2008-06-12 19:44:46 +00:00
the_fiddler
dcce9fcf73 Added a potential workaround to OpenAL SI/Linux crashes. 2008-04-20 17:46:20 +00:00
the_fiddler
baeb49e01a Normalized formatting with the rest of OpenTK. 2008-04-13 19:55:25 +00:00
the_fiddler
6b72455421 Fixed a bug that would cause context creation to fail under OpenAL SI (0.0.6-0.0.8) on Linux. 2008-04-13 19:46:42 +00:00
the_fiddler
d4590f183b Made AudioContext.Device private. Added AudioContext.SupportsExtension. 2008-04-13 19:42:37 +00:00
the_fiddler
ea22820118 Improved handling of missing openal32.dll. It used to throw a TypeInitializationException. It now throws a DllNotFoundException. 2008-04-13 15:50:22 +00:00
the_fiddler
05c1bfc976 2008-04-06 15:35:34 +00:00
the_fiddler
cde27b1928 Renamed XRam to XRamExtension. 2008-04-06 15:35:12 +00:00
the_fiddler
97171e4aec Renamed Efx to EffectsExtension. 2008-04-06 15:34:48 +00:00
the_fiddler
fad0929f52 Renamed EfxExtension to EffectsExtension. 2008-04-06 15:31:32 +00:00
the_fiddler
e0a5a821c9 Removed CLSCompliant(true) attribute. 2008-04-06 15:30:59 +00:00
the_fiddler
10dd34cd35 Renamed DeleteFilters(int n) to DeleteFilter(int n). 2008-04-06 15:17:27 +00:00
the_fiddler
f4a55510a1 Fixed Gen/DeleteFilters bindings. 2008-04-06 15:16:57 +00:00
the_fiddler
6061e0e9c5 Fixed EfxExtension.AuxiliaryEffectSlot bindings. 2008-04-06 15:11:16 +00:00
the_fiddler
3aadd5d36a Fixed EfxExtension.DeleteEffects bindings. 2008-04-06 15:07:53 +00:00