// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.DevTools.WebAudio
{
///
/// Protocol object for AudioNode
///
[System.Runtime.Serialization.DataContractAttribute]
public class AudioNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// NodeId
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))]
public string NodeId
{
get;
set;
}
///
/// ContextId
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))]
public string ContextId
{
get;
set;
}
///
/// NodeType
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeType"), IsRequired = (true))]
public string NodeType
{
get;
set;
}
///
/// NumberOfInputs
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("numberOfInputs"), IsRequired = (true))]
public long NumberOfInputs
{
get;
set;
}
///
/// NumberOfOutputs
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("numberOfOutputs"), IsRequired = (true))]
public long NumberOfOutputs
{
get;
set;
}
///
/// ChannelCount
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("channelCount"), IsRequired = (true))]
public long ChannelCount
{
get;
set;
}
///
/// ChannelCountMode
///
public CefSharp.DevTools.WebAudio.ChannelCountMode ChannelCountMode
{
get
{
return (CefSharp.DevTools.WebAudio.ChannelCountMode)(StringToEnum(typeof(CefSharp.DevTools.WebAudio.ChannelCountMode), channelCountMode));
}
set
{
channelCountMode = (EnumToString(value));
}
}
///
/// ChannelCountMode
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("channelCountMode"), IsRequired = (true))]
internal string channelCountMode
{
get;
set;
}
///
/// ChannelInterpretation
///
public CefSharp.DevTools.WebAudio.ChannelInterpretation ChannelInterpretation
{
get
{
return (CefSharp.DevTools.WebAudio.ChannelInterpretation)(StringToEnum(typeof(CefSharp.DevTools.WebAudio.ChannelInterpretation), channelInterpretation));
}
set
{
channelInterpretation = (EnumToString(value));
}
}
///
/// ChannelInterpretation
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("channelInterpretation"), IsRequired = (true))]
internal string channelInterpretation
{
get;
set;
}
}
}