using System;
using System.Runtime.InteropServices;
namespace Raylib_cs;
///
/// Audio stream type
/// NOTE: Useful to create custom audio streams not bound to a specific file
///
[StructLayout(LayoutKind.Sequential)]
public partial struct AudioStream
{
//TODO: convert
///
/// Pointer to internal data(rAudioBuffer *) used by the audio system
///
public IntPtr Buffer;
///
/// Pointer to internal data processor, useful for audio effects
///
public IntPtr Processor;
///
/// Frequency (samples per second)
///
public uint SampleRate;
///
/// Bit depth (bits per sample): 8, 16, 32 (24 not supported)
///
public uint SampleSize;
///
/// Number of channels (1-mono, 2-stereo)
///
public uint Channels;
}