Пример #1
0
        int Read(object Buffer, int Length)
        {
            GCHandle gch = GCHandle.Alloc(Buffer, GCHandleType.Pinned);

            int Return = BassMix.MixerChannelGetData(Handle, gch.AddrOfPinnedObject(), Length);

            gch.Free();

            return(Return);
        }