33 lines
797 B
C#
Raw Normal View History

2024-06-07 00:47:07 +02:00
using NAudio.CoreAudioApi.Interfaces;
namespace NAudio.CoreAudioApi
{
public class KsJackDescription
{
private readonly IKsJackDescription ksJackDescriptionInterface;
internal KsJackDescription(IKsJackDescription ksJackDescription)
{
ksJackDescriptionInterface = ksJackDescription;
}
public uint Count
{
get
{
ksJackDescriptionInterface.GetJackCount(out var result);
return result;
}
}
public string this[uint index]
{
get
{
ksJackDescriptionInterface.GetJackDescription(index, out var result);
return result;
}
}
}
}