Ejemplo n.º 1
0
        public AudioSignalProperties(AudioSignalProperties audioProperties)
        {
            AudioFormat   = audioProperties.AudioFormat;
            NumChannels   = audioProperties.NumChannels;
            SampleRate    = audioProperties.SampleRate;
            BitsPerSample = audioProperties.BitsPerSample;

            if (audioProperties.ExtraParams != null)
            {
                ExtraParams = (byte[])audioProperties.ExtraParams.Clone();
            }
            else
            {
                ExtraParams = null;
            }
        }
Ejemplo n.º 2
0
 public AudioSignal(AudioSignalProperties audioProperties, double[] data)
     : base(DataType.Audio, data, audioProperties.SampleRate)
 {
     AudioProperties = (AudioSignalProperties)audioProperties.Clone();
 }
Ejemplo n.º 3
0
 public AudioSignal(AudioSignal signal) : base(signal)
 {
     AudioProperties = (AudioSignalProperties)signal.AudioProperties.Clone();
 }
Ejemplo n.º 4
0
 public AudioSignal() : base()
 {
     AudioProperties = new AudioSignalProperties();
 }