Пример #1
0
        internal AudioSource(IntPtr audioSource)
        {
            _nativePtr = audioSource;
            var propPtr = NativeMethods.FFMS_GetAudioProperties(audioSource);

            _ap = (FFMS_AudioProperties)Marshal.PtrToStructure(propPtr, typeof(FFMS_AudioProperties));
        }
Пример #2
0
 internal AudioSource(IntPtr audioSource)
 {
     _nativePtr = audioSource;
     var propPtr = NativeMethods.FFMS_GetAudioProperties(audioSource);
     _ap = (FFMS_AudioProperties)Marshal.PtrToStructure(propPtr, typeof(FFMS_AudioProperties));
 }
Пример #3
0
 static int AudioNameCallback(string SourceFile, int Track, ref FFMS_AudioProperties AP, StringBuilder FileName, int FNSize, IntPtr Private)
 {
     return(NativeMethods.FFMS_DefaultAudioFilename(SourceFile, Track, ref AP, FileName, FNSize, Private));
 }
Пример #4
0
 public static extern int FFMS_DefaultAudioFilename(string SourceFile, int Track, ref FFMS_AudioProperties AP, StringBuilder FileName, int FNSize, IntPtr Private);
Пример #5
0
 public static extern int FFMS_DefaultAudioFilename(string SourceFile, int Track, ref FFMS_AudioProperties AP, StringBuilder FileName, int FNSize, IntPtr Private);
Пример #6
0
 static int AudioNameCallback(string SourceFile, int Track, ref FFMS_AudioProperties AP, StringBuilder FileName, int FNSize, IntPtr Private)
 {
     return NativeMethods.FFMS_DefaultAudioFilename(SourceFile, Track, ref AP, FileName, FNSize, Private);
 }