Ejemplo n.º 1
0
 public object Read(ContentStream stream, object existingObject)
 {
     if (existingObject == null)
     {
         SoundFileFormat format = SoundData.DetermineFileFormat(stream);
         return(SoundData.Stream(stream.Duplicate(), format));
     }
     throw new NotSupportedException();
 }