Exemple #1
0
        /// <summary>
        /// Collects all available audio outputs from the device.
        /// </summary>
        private void fetchAudioOutputs() {
            audioOutputs = new Core.SearchableList<Analog.Audio.Output>();
            v4l2_audioout cur = new v4l2_audioout();

            cur.index = 0;
            while(ioControl.EnumerateAudioOutputs(ref cur) == 0) {
                audioOutputs.Add(new Analog.Audio.Output(cur));
                cur.index++;
            }
        }
Exemple #2
0
			ioctl(int device, v4l2_operation request, ref v4l2_audioout argp);
Exemple #3
0
		public int EnumerateAudioOutputs(ref v4l2_audioout output)
		{
			return ioctl(deviceHandle, v4l2_operation.EnumerateAudioOutputs, ref output);
		}
Exemple #4
0
		public int SetAudioOutput(ref v4l2_audioout output)
		{
			return ioctl(deviceHandle, v4l2_operation.SetAudioOutput, ref output);
		}
Exemple #5
0
		internal Output(v4l2_audioout output)
		{
			this.output = output;
		}
 private static extern int ioctl(int device, v4l2_operation request, ref v4l2_audioout argp);