Commit graph

82 commits

Author SHA1 Message Date
the_fiddler 0c25f266d3 Fixed x86-specific ABI assumption (do not pass structure directly when a pointer is expected). Patch by jonp. 2009-10-23 22:06:15 +00:00
the_fiddler ca540e2626 Debug.WriteLine(object, string) does not work as intended (the first parameter defines the category). Use Debug.Print instead. 2009-10-23 17:45:14 +00:00
the_fiddler 8527483c0b Fixed x86-specific ABI assumption (do not return structure directly when a pointer is expected). Patch by jonp. 2009-10-23 16:10:55 +00:00
the_fiddler c0e0872c19 * AudioCapture.cs: Fixed documentation warning. 2009-10-07 11:21:18 +00:00
the_fiddler 7b5cde901e * AL/AL.cs:
* Alc/AlcEnums.cs: Fixed documentation warnings.
2009-10-07 11:20:44 +00:00
the_fiddler d3bccf0b4b Fixed XML documentation warnings.
Removed unnecessary [CLSCompliant(true)] attributes.
2009-09-04 23:12:10 +00:00
the_fiddler d7f83f3cb2 Fixed XML documentation warnings. 2009-09-04 22:16:12 +00:00
the_fiddler 33db1f6b74 Fixed a large number of documentation warnings. 2009-09-04 21:44:39 +00:00
the_fiddler abf3787e8e Added missing XML documentation and fixed invalid XML doc references.
Removed deprecated methods from IGraphicsContext.
2009-09-04 21:25:29 +00:00
the_fiddler 6c9eb1dbf2 OpenAL DllImport library should be internal, not public. 2009-09-04 13:02:44 +00:00
the_fiddler f6da09177e Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files. 2009-09-03 19:01:11 +00:00
the_fiddler c1f41d1eb9 Moved Alut to OpenTK.Compatibility.
Moved SoundData and SoundFormat to OpenTK.Compatibility.
Moved AL and Alc classes to OpenTK.Audio.OpenAL and added the previous namespace to OpenTK.Compatibility.
Removed SoundData wrappers from AL class.
Updated samples to use the new API.
2009-08-17 10:32:20 +00:00
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