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 struct AudioStream
{
///
/// Pointer to internal data(rAudioBuffer *) used by the audio system
///
public IntPtr audioBuffer;
///
/// 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;
}
}