예제 #1
0
 /// <inheritdoc cref="GetString(ALDevice, GetEnumerationString)"/>
 public static IEnumerable <string> GetStringList(GetEnumerationStringList param)
 {
     unsafe
     {
         byte *result = GetStringList(ALDevice.Null, param);
         return(ALStringListToList(result));
     }
 }
예제 #2
0
 public static extern unsafe byte *GetStringListPtr(ALDevice device, GetEnumerationStringList param);
예제 #3
0
        /// <inheritdoc cref="GetString(ALDevice, GetEnumerationString)"/>
        public static unsafe IEnumerable <string> GetStringList(GetEnumerationStringList param)
        {
            var result = GetStringListPtr(ALDevice.Null, param);

            return(ALStringListToList(result));
        }
예제 #4
0
 /// <summary>
 /// Gets a named property on the context.
 /// </summary>
 /// <param name="device">The device for the context.</param>
 /// <param name="param">The named property.</param>
 /// <returns>The value.</returns>
 [DllImport(Lib, EntryPoint = "alcGetString", ExactSpelling = true, CallingConvention = AlcCallingConv)] public static unsafe extern byte *GetStringListPtr(ALDevice device, GetEnumerationStringList param);
예제 #5
0
파일: ALC.cs 프로젝트: jvbsl/opentk
 public static unsafe extern byte *GetStringList(ALDevice device, GetEnumerationStringList param);