Exemplo n.º 1
0
        bool Push(object data, int Length)
        {
            GCHandle gch = GCHandle.Alloc(data, GCHandleType.Pinned);

            bool Result = Bass.StreamPutData(Handle, gch.AddrOfPinnedObject(), Length) != -1;

            gch.Free();

            return(Result);
        }
Exemplo n.º 2
0
 public void End()
 {
     Bass.StreamPutData(Handle, IntPtr.Zero, (int)StreamProcedureType.End);
 }