Exemplo n.º 1
0
        public AudioDataMono(float[] leftChannelSamples)
        {
            IsStereo            = false;
            _monoChannel        = new AudioChannel(leftChannelSamples);
            CurrentAudioChannel = _monoChannel;

            AudioProcessingSettings = new AudioProcessingSettings();
        }
        public AudioDataStereo(float[] leftChannelSamples, float[] rightChannelSamples)
        {
            IsStereo            = true;
            _currentChannelType = ChannelType.Left;
            _leftChannel        = new AudioChannel(leftChannelSamples);
            _rightChannel       = new AudioChannel(rightChannelSamples);
            CurrentAudioChannel = _leftChannel;

            AudioProcessingSettings = new AudioProcessingSettings();
        }