public OggStreamBuffer(string path, Encoding textEncoding) { text_encoding = textEncoding; OvMarshal.ov_open(OvMarshal.fopen(path, "r"), ref vorbis_file, IntPtr.Zero, 0); handle_ovf = GCHandle.Alloc(vorbis_file, GCHandleType.Pinned); callbacks = vorbis_file.Callbacks; }