/// <summary> /// Constructor /// </summary> /// <param name="gtaAudioFile">GTA audio file</param> /// <param name="sampleRate">Sample rate</param> /// <param name="buffer">Buffer</param> /// <param name="index">Index</param> /// <param name="count">Count</param> /// <param name="writable">Writable</param> internal CommitableMemoryStream(AGTAAudioFile gtaAudioFile, byte[] buffer, int index, int count, bool writable) : base(buffer, index, count, writable) { this.gtaAudioFile = gtaAudioFile; }
/// <summary> /// Constructor /// </summary> /// <param name="gtaAudioFile">GTA audio file</param> /// <param name="sampleRate">Sample rate</param> /// <param name="buffer">Buffer</param> internal CommitableMemoryStream(AGTAAudioFile gtaAudioFile, byte[] buffer) : base(buffer) { this.gtaAudioFile = gtaAudioFile; }
/// <summary> /// Constructor /// </summary> /// <param name="gtaAudioFile">GTA audio file</param> /// <param name="sampleRate">Sample rate</param> /// <param name="capacity">Capacity</param> internal CommitableMemoryStream(AGTAAudioFile gtaAudioFile, int capacity) : base(capacity) { this.gtaAudioFile = gtaAudioFile; }
/// <summary> /// Constructor /// </summary> /// <param name="gtaAudioFile">GTA audio file</param> /// <param name="sampleRate">Sample rate</param> internal CommitableMemoryStream(AGTAAudioFile gtaAudioFile) : base() { this.gtaAudioFile = gtaAudioFile; }