Ejemplo n.º 1
0
 /// <summary>
 /// Get an attribute from the associated resampler.
 /// </summary>
 /// <param name="Handle">The stream's handle.</param>
 /// <param name="Attribute">A <see cref="SoxChannelAttribute"/>.</param>
 /// <param name="Value"></param>
 /// <returns></returns>
 public static bool ChannelGetAttribute(int Handle, SoxChannelAttribute Attribute, out int Value)
 {
     return(BASS_SOX_ChannelGetAttribute(Handle, Attribute, out Value));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Set an attribute on the associated resampler.
 /// </summary>
 /// <param name="Handle">The stream's handle.</param>
 /// <param name="Attribute">A <see cref="SoxChannelAttribute"/>.</param>
 /// <param name="Value"></param>
 /// <returns></returns>
 public static bool ChannelSetAttribute(int Handle, SoxChannelAttribute Attribute, bool Value)
 {
     return(BASS_SOX_ChannelSetAttribute(Handle, Attribute, Value ? 1 : 0));
 }
Ejemplo n.º 3
0
 static extern bool BASS_SOX_ChannelGetAttribute(int Handle, SoxChannelAttribute Attribute, out int Value);
Ejemplo n.º 4
0
 /// <summary>
 /// Set an attribute on the associated resampler.
 /// </summary>
 /// <param name="Handle">The stream's handle.</param>
 /// <param name="Attribute">A <see cref="SoxChannelAttribute"/>.</param>
 /// <param name="Value">A <see cref="SoxChannelPhase"/>.</param>
 /// <returns></returns>
 public static bool ChannelSetAttribute(int Handle, SoxChannelAttribute Attribute, SoxChannelPhase Value)
 {
     return(BASS_SOX_ChannelSetAttribute(Handle, Attribute, (int)Value));
 }