AlbLib.Sounds.RawPCMSound.WriteWAVEToStream C# (CSharp) 메소드

WriteWAVEToStream() 공개 메소드

public WriteWAVEToStream ( Stream output ) : int
output Stream
리턴 int
        public int WriteWAVEToStream(Stream output)
        {
            WriteWAVEHeader(output, Rate, SoundData.Length);
            output.Write(SoundData, 0, SoundData.Length);
            output.Flush();
            return 44+SoundData.Length;
        }