Commit graph

17 commits

Author SHA1 Message Date
the_fiddler a27c15cf32 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 9265747541 Fixed all known build warnings, apart from missing xml comments. 2009-03-25 21:53:12 +00:00
the_fiddler 7ab2816eee * 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 3d9489bc3a * 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 a22019d890 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 820e2af20e 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 0c159a0f26 Prefer Alc.OpenDevice(null) over Alc.OpenDevice(Alc.GetString(0, AlcGetString.DefaultDeviceSpecifier)) 2008-06-22 18:06:32 +00:00
the_fiddler 67cc7cb4b0 Added a potential workaround to OpenAL SI/Linux crashes. 2008-04-20 17:46:20 +00:00
the_fiddler b977db6a5e 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 143d217468 Made AudioContext.Device private. Added AudioContext.SupportsExtension. 2008-04-13 19:42:37 +00:00
the_fiddler 23ed50e322 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 192ee1ba42 Made MakeCurrent() call public. 2008-04-06 01:28:12 +00:00
the_fiddler 5ff51ba9fe 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 9efb80ebb8 Temporarily removed detailed constructors. 2008-03-16 10:07:55 +00:00
the_fiddler 698b76f373 Moved some items. 2008-02-02 13:11:42 +00:00
the_fiddler 665feaa439 Disabled support for multiple AudioContexts until further notice... 2008-01-31 14:16:26 +00:00
the_fiddler 565f40f764 Moved AudioContext.cs 2008-01-23 12:46:09 +00:00
Renamed from Source/OpenTK/OpenAL/AudioContext.cs (Browse further)