* AL/AL.cs:

* Alc/AlcEnums.cs: Fixed documentation warnings.
This commit is contained in:
the_fiddler 2009-10-07 11:20:44 +00:00
parent 0ac37632a4
commit 9b4e8d18f9
2 changed files with 21 additions and 5 deletions

View file

@ -396,14 +396,30 @@ namespace OpenTK.Audio.OpenAL
/// <param name="n">The number of sources to be generated.</param>
/// <param name="sources">Pointer to an array of uint values which will store the names of the new sources.</param>
[CLSCompliant(false)]
[DllImport(AL.Lib, EntryPoint = "alGenSources", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
public static extern void GenSources(int n, out uint sources);
public static void GenSources(int n, out uint sources)
{
unsafe
{
fixed (uint* sources_ptr = &sources)
{
GenSourcesPrivate(n, sources_ptr);
}
}
}
/// <summary>This function generates one or more sources. References to sources are int values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).</summary>
/// <param name="n">The number of sources to be generated.</param>
/// <param name="sources">Pointer to an array of int values which will store the names of the new sources.</param>
[DllImport(AL.Lib, EntryPoint = "alGenSources", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
public static extern void GenSources(int n, out int sources);
public static void GenSources(int n, out int sources)
{
unsafe
{
fixed (int* sources_ptr = &sources)
{
GenSourcesPrivate(n, (uint*)sources_ptr);
}
}
}
/// <summary>This function generates one or more sources. References to sources are int values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).</summary>
/// <param name="sources">Pointer to an array of int values which will store the names of the new sources.</param>

View file

@ -104,7 +104,7 @@ namespace OpenTK.Audio.OpenAL
}
/// <summary>
/// Defines available parameters for <see cref="Alc.GetInteger(IntPtr, AlcGetInteger, int, out int)"/>.
/// Defines available parameters for <see cref="Alc.GetInteger(IntPtr, AlcGetInteger, int, int[])"/>.
/// </summary>
public enum AlcGetInteger : int
{