Commit graph

17 commits

Author SHA1 Message Date
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 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 2e754ad9ce Prefer Alc.OpenDevice(null) over Alc.OpenDevice(Alc.GetString(0, AlcGetString.DefaultDeviceSpecifier)) 2008-06-22 18:06:32 +00:00
the_fiddler dcce9fcf73 Added a potential workaround to OpenAL SI/Linux crashes. 2008-04-20 17:46:20 +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 c5968d9cd0 Made MakeCurrent() call public. 2008-04-06 01:28:12 +00:00
the_fiddler 7001076f5a Moved OpenTK.OpenAL to OpenTK.Audio.
Added SoundReader class.
Added OpenTK.Math.Functions.NextPowerOfTwo 
Fixed several AL functions, and added overloads to AL.BufferData.
Added OpenAL wave playback sample.
2008-04-04 19:46:08 +00:00
the_fiddler aa21965023 Temporarily removed detailed constructors. 2008-03-16 10:07:55 +00:00
the_fiddler d8f6f45361 Moved some items. 2008-02-02 13:11:42 +00:00
the_fiddler 61318981b8 Disabled support for multiple AudioContexts until further notice... 2008-01-31 14:16:26 +00:00
the_fiddler d0a057765d Moved AudioContext.cs 2008-01-23 12:46:09 +00:00
Renamed from Source/OpenTK/OpenAL/AudioContext.cs (Browse further)