private void InitializeAudioOut() { AppendMixedBuffer(0); AppendMixedBuffer(1); AppendMixedBuffer(2); _audioOut.Start(_track); }
public AalHardwareDevice(int bufferTag, IAalOutput output, uint channelCount, uint sampleRate) { _bufferTag = bufferTag; _channelCount = channelCount; _sampleRate = sampleRate; _output = output; _releaseEvent = new AutoResetEvent(true); _trackId = _output.OpenTrack((int)sampleRate, (int)channelCount, AudioCallback); _releasedTags = new Queue <long>(); _buffer = new short[RendererConstants.TargetSampleCount * channelCount]; _output.Start(_trackId); }
// StartAudioOut() public ResultCode StartAudioOut(ServiceCtx context) { _audioOut.Start(_track); return(ResultCode.Success); }
// StartAudioOut() public long StartAudioOut(ServiceCtx context) { _audioOut.Start(_track); return(0); }
public long StartAudioOut(ServiceCtx Context) { AudioOut.Start(Track); return(0); }