using System;
using System.Collections.Generic;
using System.Text;
namespace LumiSoft.Media.Wave
{
///
/// This class represents wav input device.
///
public class WavInDevice
{
private int m_Index = 0;
private string m_Name = "";
private int m_Channels = 1;
///
/// Default constructor.
///
/// Device index in devices.
/// Device name.
/// Number of audio channels.
internal WavInDevice(int index,string name,int channels)
{
m_Index = index;
m_Name = name;
m_Channels = channels;
}
#region Properties Implementation
///
/// Gets device name.
///
public string Name
{
get{ return m_Name; }
}
///
/// Gets number of input channels(mono,stereo,...) supported.
///
public int Channels
{
get{ return m_Channels; }
}
///
/// Gets device index in devices.
///
internal int Index
{
get{ return m_Index; }
}
#endregion
}
}