Example #1
0
            public override StreamingSource Duplicate()
            {
                ContentStream contentStream = m_stream as ContentStream;

                if (contentStream != null)
                {
                    return(new OggStreamingSource(contentStream.Duplicate()));
                }
                throw new InvalidOperationException("Underlying stream does not support duplication.");
            }