Commit graph

89 commits

Author SHA1 Message Date
thefiddler
7afe48c979 [Audio] Don't crash when Alc.GetString() returns null
Alc.GetString() could crash if the unmanaged code returned null due to
any kind of failure. This is now fixed and better documented.

Additionally, the array overload for Alc.GetString() will now correctly
forward the ‘device’ parameter to unmanaged code.
2014-01-12 22:05:15 +01:00
Stefanos A
aeb7a72d79 Eliminated CLS-compliance warnings in the bindings 2013-12-15 22:01:45 +01:00
the_fiddler
286f6f9439 Marked int* overloads as non CLS-compliant. 2010-10-28 09:00:23 +00:00
the_fiddler
7c78cc4205 Fixed ref overloads of GenSources and GenBuffers to follow the rest of the OpenTK design. Fixes invalid return values on x64 systems. 2010-10-28 08:12:24 +00:00
the_fiddler
53b84d18d4 Backported bugfixes from 1.0 branch. 2010-02-03 19:04:42 +00:00
the_fiddler
9eb504eb4e Fixed a large number of recurring spelling mistakes in documentation (patch by iRBiS). Fixes issue [#1341]: "Vector4 constructor describes w component as z component + other spelling corrections". 2009-11-09 08:15:38 +00:00
the_fiddler
fa81d3daa8 Cleaned up a large number of documentation issues. 2009-11-04 20:48:02 +00:00
the_fiddler
854f92c868 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
ef48c42807 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
887766a371 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
6e9030e7f9 * AudioCapture.cs: Fixed documentation warning. 2009-10-07 11:21:18 +00:00
the_fiddler
9b4e8d18f9 * AL/AL.cs:
* Alc/AlcEnums.cs: Fixed documentation warnings.
2009-10-07 11:20:44 +00:00
the_fiddler
7a09bff35d Fixed XML documentation warnings.
Removed unnecessary [CLSCompliant(true)] attributes.
2009-09-04 23:12:10 +00:00
the_fiddler
98882acdbf Fixed XML documentation warnings. 2009-09-04 22:16:12 +00:00
the_fiddler
685b646efa Fixed a large number of documentation warnings. 2009-09-04 21:44:39 +00:00
the_fiddler
6b03992812 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
672daa42c7 OpenAL DllImport library should be internal, not public. 2009-09-04 13:02:44 +00:00
the_fiddler
d6c4c801e1 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
da9497928e 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
3cc127ebbc Improved BlittableValueType API (Check, StrideOf methods).
Added AL.BufferData<T> method.
2009-07-19 20:56:17 +00:00
the_fiddler
b19d7bf4c5 Added AudioCapture.IsRunning property.
Fixed formatting.
2009-07-19 20:55:18 +00:00
the_fiddler
f1976edb8b Minor formatting cleanup. 2009-07-19 20:51:55 +00:00
the_fiddler
9631c40611 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
662fcc1109 Removed CurrentAlcError property.
Fixed handling of ObjectDisposedExceptions.
2009-07-17 23:07:17 +00:00
the_fiddler
10a910fe10 Renamed AudioContext.Default to AudioContext.DefaulDevice.
Improved error checking code.
2009-07-17 23:00:22 +00:00
the_fiddler
d74ecbc4c1 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
550520a994 Added CLSCompliant overload to Alc.CaptureOpenDevice. 2009-07-17 22:58:29 +00:00
the_fiddler
e7590ea784 Simple whitespace fix. 2009-07-17 22:58:01 +00:00
the_fiddler
c7382fa377 Added AudioDeviceErrorChecker modeled after OpenTK.Graphics. 2009-07-17 22:57:22 +00:00
the_fiddler
5f47e3d8a5 Added AudioValueException class. 2009-07-17 22:57:11 +00:00
the_fiddler
d021884d01 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
cbe3bc6bbb Fixed wrappers for Alc.GetInteger (pin and pass pointer). 2009-07-17 21:21:03 +00:00
the_fiddler
0f0efced7d * AudioCapture.cs: Added AudioCapture class that encapsulates openal 'capture' contexts. 2009-07-17 09:47:59 +00:00
the_fiddler
66cd1ee1a6 Updated license information. 2009-07-17 08:26:32 +00:00
the_fiddler
fadeffb601 * AudioDeviceEnumerator.cs: Added missing file. 2009-07-17 08:25:33 +00:00
Chrisbrandtner
75cc8cba9f 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
1bdc6b6634 Added missing XML docs. 2009-06-28 10:49:10 +00:00
the_fiddler
51d39fffe1 Added missing XML comment to AL class.
Made AL.Lib internal.
2009-06-28 10:38:56 +00:00
the_fiddler
a7363b54e6 Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler
ead6be817d Marked Glu and Alut as obsolete. 2009-06-15 12:43:53 +00:00
the_fiddler
402230b61c Fixed a large amount of documentation warnings.
Marked several APIs as obsolete.
2009-06-04 11:22:20 +00:00
the_fiddler
918b7b49ce Fixed missing documentation warnings. 2009-06-04 10:56:07 +00:00
the_fiddler
59d6fca421 Last parameter of Alc.CaptureSamples should be an int, not IntPtr. 2009-05-31 11:10:16 +00:00
the_fiddler
421fd60105 Fixed Alc.CaptureSamples according to http://www.opentk.com/node/911. Added convenience overloads. 2009-05-31 11:08:34 +00:00
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
a7d5c08232 Comment out unused code. 2008-12-02 16:01:02 +00:00