Exemplo n.º 1
0
        public SoundPcm(string name, snd_pcm_stream_t streamType, int mode)
        {
            int error = AlsaNativeMethods.snd_pcm_open(out _pcmPtr, name, streamType, mode);

            if (error < 0)
            {
                throw new AlsaNativeError(error, nameof(AlsaNativeMethods.snd_pcm_open));
            }
        }
Exemplo n.º 2
0
 internal static extern int snd_pcm_open(out IntPtr pcm, string name, snd_pcm_stream_t stream, int mode);
Exemplo n.º 3
0
 public static extern int snd_pcm_open_lconf(IntPtr* playback_handle, string name, snd_pcm_stream_t stream, int mode, out snd_config_t lconf);
Exemplo n.º 4
0
 public static extern int snd_pcm_open(IntPtr* playback_handle, string card, snd_pcm_stream_t device, int mode);
Exemplo n.º 5
0
        int snd_pcm_open (out IntPtr /* snd_pcm_t ** */pcm, 
			                 [MarshalAs(UnmanagedType.LPStr)]
			                 string name, 
		 snd_pcm_stream_t stream, int mode);
Exemplo n.º 6
0
 internal static extern int snd_pcm_open_lconf(IntPtr *playback_handle, string name, snd_pcm_stream_t stream,
                                               int mode, out snd_config_t lconf);
Exemplo n.º 7
0
 //[SuppressUnmanagedCodeSecurity]
 internal static extern int snd_pcm_open(IntPtr *playback_handle, string card, snd_pcm_stream_t device,
                                         int mode);
Exemplo n.º 8
0
 int snd_pcm_open(out IntPtr /* snd_pcm_t ** */ pcm,
                  [MarshalAs(UnmanagedType.LPStr)]
                  string name,
                  snd_pcm_stream_t stream, int mode);
Exemplo n.º 9
0
 public static extern int snd_pcm_open(ref IntPtr pcm, string name, snd_pcm_stream_t stream, int mode);