Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AudioMessage"/> class.
 /// </summary>
 /// <param name="format">The format of the audio.</param>
 /// <remarks>
 /// This overload creates an <see cref="AudioMessage"/> carrying the serialized format data.
 /// This should be sent once, before any audio data is sent to the service.
 /// </remarks>
 internal AudioMessage(WaveFormat format)
     : this(format.GetBytes())
 {
 }