Implemented SampleBuffer for lazy IntPtr <-> double[] conversions