src/soundio

Search:
Group by:
Source   Edit  

Types

enum_SoundIoBackend_1677722052 {.size: 4.} = enum
  SoundIoBackendNone = 0, SoundIoBackendJack = 1, SoundIoBackendPulseAudio = 2,
  SoundIoBackendAlsa = 3, SoundIoBackendCoreAudio = 4, SoundIoBackendWasapi = 5,
  SoundIoBackendDummy = 6
Source   Edit  
enum_SoundIoChannelId_1677722048 {.size: 4.} = enum
  SoundIoChannelIdInvalid = 0, SoundIoChannelIdFrontLeft = 1,
  SoundIoChannelIdFrontRight = 2, SoundIoChannelIdFrontCenter = 3,
  SoundIoChannelIdLfe = 4, SoundIoChannelIdBackLeft = 5,
  SoundIoChannelIdBackRight = 6, SoundIoChannelIdFrontLeftCenter = 7,
  SoundIoChannelIdFrontRightCenter = 8, SoundIoChannelIdBackCenter = 9,
  SoundIoChannelIdSideLeft = 10, SoundIoChannelIdSideRight = 11,
  SoundIoChannelIdTopCenter = 12, SoundIoChannelIdTopFrontLeft = 13,
  SoundIoChannelIdTopFrontCenter = 14, SoundIoChannelIdTopFrontRight = 15,
  SoundIoChannelIdTopBackLeft = 16, SoundIoChannelIdTopBackCenter = 17,
  SoundIoChannelIdTopBackRight = 18, SoundIoChannelIdBackLeftCenter = 19,
  SoundIoChannelIdBackRightCenter = 20, SoundIoChannelIdFrontLeftWide = 21,
  SoundIoChannelIdFrontRightWide = 22, SoundIoChannelIdFrontLeftHigh = 23,
  SoundIoChannelIdFrontCenterHigh = 24, SoundIoChannelIdFrontRightHigh = 25,
  SoundIoChannelIdTopFrontLeftCenter = 26,
  SoundIoChannelIdTopFrontRightCenter = 27, SoundIoChannelIdTopSideLeft = 28,
  SoundIoChannelIdTopSideRight = 29, SoundIoChannelIdLeftLfe = 30,
  SoundIoChannelIdRightLfe = 31, SoundIoChannelIdLfe2 = 32,
  SoundIoChannelIdBottomCenter = 33, SoundIoChannelIdBottomLeftCenter = 34,
  SoundIoChannelIdBottomRightCenter = 35, SoundIoChannelIdMsMid = 36,
  SoundIoChannelIdMsSide = 37, SoundIoChannelIdAmbisonicW = 38,
  SoundIoChannelIdAmbisonicX = 39, SoundIoChannelIdAmbisonicY = 40,
  SoundIoChannelIdAmbisonicZ = 41, SoundIoChannelIdXyX = 42,
  SoundIoChannelIdXyY = 43, SoundIoChannelIdHeadphonesLeft = 44,
  SoundIoChannelIdHeadphonesRight = 45, SoundIoChannelIdClickTrack = 46,
  SoundIoChannelIdForeignLanguage = 47, SoundIoChannelIdHearingImpaired = 48,
  SoundIoChannelIdNarration = 49, SoundIoChannelIdHaptic = 50,
  SoundIoChannelIdDialogCentricMix = 51, SoundIoChannelIdAux = 52,
  SoundIoChannelIdAux0 = 53, SoundIoChannelIdAux1 = 54,
  SoundIoChannelIdAux2 = 55, SoundIoChannelIdAux3 = 56,
  SoundIoChannelIdAux4 = 57, SoundIoChannelIdAux5 = 58,
  SoundIoChannelIdAux6 = 59, SoundIoChannelIdAux7 = 60,
  SoundIoChannelIdAux8 = 61, SoundIoChannelIdAux9 = 62,
  SoundIoChannelIdAux10 = 63, SoundIoChannelIdAux11 = 64,
  SoundIoChannelIdAux12 = 65, SoundIoChannelIdAux13 = 66,
  SoundIoChannelIdAux14 = 67, SoundIoChannelIdAux15 = 68
Source   Edit  
enum_SoundIoChannelLayoutId_1677722050 {.size: 4.} = enum
  SoundIoChannelLayoutIdMono = 0, SoundIoChannelLayoutIdStereo = 1,
  SoundIoChannelLayoutId2Point1 = 2, SoundIoChannelLayoutId3Point0 = 3,
  SoundIoChannelLayoutId3Point0Back = 4, SoundIoChannelLayoutId3Point1 = 5,
  SoundIoChannelLayoutId4Point0 = 6, SoundIoChannelLayoutIdQuad = 7,
  SoundIoChannelLayoutIdQuadSide = 8, SoundIoChannelLayoutId4Point1 = 9,
  SoundIoChannelLayoutId5Point0Back = 10,
  SoundIoChannelLayoutId5Point0Side = 11, SoundIoChannelLayoutId5Point1 = 12,
  SoundIoChannelLayoutId5Point1Back = 13,
  SoundIoChannelLayoutId6Point0Side = 14,
  SoundIoChannelLayoutId6Point0Front = 15, SoundIoChannelLayoutIdHexagonal = 16,
  SoundIoChannelLayoutId6Point1 = 17, SoundIoChannelLayoutId6Point1Back = 18,
  SoundIoChannelLayoutId6Point1Front = 19, SoundIoChannelLayoutId7Point0 = 20,
  SoundIoChannelLayoutId7Point0Front = 21, SoundIoChannelLayoutId7Point1 = 22,
  SoundIoChannelLayoutId7Point1Wide = 23,
  SoundIoChannelLayoutId7Point1WideBack = 24,
  SoundIoChannelLayoutIdOctagonal = 25
Source   Edit  
enum_SoundIoDeviceAim_1677722054 {.size: 4.} = enum
  SoundIoDeviceAimInput = 0, SoundIoDeviceAimOutput = 1
Source   Edit  
enum_SoundIoError_1677722046 {.size: 4.} = enum
  SoundIoErrorNone = 0, SoundIoErrorNoMem = 1, SoundIoErrorInitAudioBackend = 2,
  SoundIoErrorSystemResources = 3, SoundIoErrorOpeningDevice = 4,
  SoundIoErrorNoSuchDevice = 5, SoundIoErrorInvalid = 6,
  SoundIoErrorBackendUnavailable = 7, SoundIoErrorStreaming = 8,
  SoundIoErrorIncompatibleDevice = 9, SoundIoErrorNoSuchClient = 10,
  SoundIoErrorIncompatibleBackend = 11, SoundIoErrorBackendDisconnected = 12,
  SoundIoErrorInterrupted = 13, SoundIoErrorUnderflow = 14,
  SoundIoErrorEncodingString = 15
Source   Edit  
enum_SoundIoFormat_1677722056 {.size: 4.} = enum
  SoundIoFormatInvalid = 0, SoundIoFormatS8 = 1, SoundIoFormatU8 = 2,
  SoundIoFormatS16LE = 3, SoundIoFormatS16BE = 4, SoundIoFormatU16LE = 5,
  SoundIoFormatU16BE = 6, SoundIoFormatS24LE = 7, SoundIoFormatS24BE = 8,
  SoundIoFormatU24LE = 9, SoundIoFormatU24BE = 10, SoundIoFormatS32LE = 11,
  SoundIoFormatS32BE = 12, SoundIoFormatU32LE = 13, SoundIoFormatU32BE = 14,
  SoundIoFormatFloat32LE = 15, SoundIoFormatFloat32BE = 16,
  SoundIoFormatFloat64LE = 17, SoundIoFormatFloat64BE = 18
Source   Edit  
struct_SoundIo = struct_SoundIo_1677722064
Source   Edit  
struct_SoundIoChannelArea = struct_SoundIoChannelArea_1677722062
Source   Edit  
struct_SoundIoChannelLayout = struct_SoundIoChannelLayout_1677722058
Source   Edit  
struct_SoundIoDevice = struct_SoundIoDevice_1677722066
Source   Edit  
struct_SoundIoInStream = struct_SoundIoInStream_1677722070
Source   Edit  
struct_SoundIoOutStream = struct_SoundIoOutStream_1677722068
Source   Edit  
struct_SoundIoSampleRateRange = struct_SoundIoSampleRateRange_1677722060
Source   Edit  

Consts

SOUNDIO_MAX_CHANNELS = 24
Generated based on /usr/include/soundio/soundio.h:304:9 Source   Edit  
SoundIoFormatFloat32FE = SoundIoFormatFloat32BE
Generated based on /usr/include/soundio/soundio.h:297:9 Source   Edit  
SoundIoFormatFloat32NE = SoundIoFormatFloat32LE
Generated based on /usr/include/soundio/soundio.h:288:9 Source   Edit  
SoundIoFormatFloat64FE = SoundIoFormatFloat64BE
Generated based on /usr/include/soundio/soundio.h:298:9 Source   Edit  
SoundIoFormatFloat64NE = SoundIoFormatFloat64LE
Generated based on /usr/include/soundio/soundio.h:289:9 Source   Edit  
SoundIoFormatS16FE = SoundIoFormatS16BE
Generated based on /usr/include/soundio/soundio.h:291:9 Source   Edit  
SoundIoFormatS16NE = SoundIoFormatS16LE
Generated based on /usr/include/soundio/soundio.h:282:9 Source   Edit  
SoundIoFormatS24FE = SoundIoFormatS24BE
Generated based on /usr/include/soundio/soundio.h:293:9 Source   Edit  
SoundIoFormatS24NE = SoundIoFormatS24LE
Generated based on /usr/include/soundio/soundio.h:284:9 Source   Edit  
SoundIoFormatS32FE = SoundIoFormatS32BE
Generated based on /usr/include/soundio/soundio.h:295:9 Source   Edit  
SoundIoFormatS32NE = SoundIoFormatS32LE
Generated based on /usr/include/soundio/soundio.h:286:9 Source   Edit  
SoundIoFormatU16FE = SoundIoFormatU16BE
Generated based on /usr/include/soundio/soundio.h:292:9 Source   Edit  
SoundIoFormatU16NE = SoundIoFormatU16LE
Generated based on /usr/include/soundio/soundio.h:283:9 Source   Edit  
SoundIoFormatU24FE = SoundIoFormatU24BE
Generated based on /usr/include/soundio/soundio.h:294:9 Source   Edit  
SoundIoFormatU24NE = SoundIoFormatU24LE
Generated based on /usr/include/soundio/soundio.h:285:9 Source   Edit  
SoundIoFormatU32FE = SoundIoFormatU32BE
Generated based on /usr/include/soundio/soundio.h:296:9 Source   Edit  
SoundIoFormatU32NE = SoundIoFormatU32LE
Generated based on /usr/include/soundio/soundio.h:287:9 Source   Edit  

Procs

proc backend_count(soundio: ptr struct_SoundIo_1677722065): cint {.cdecl,
    importc: "soundio_backend_count", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc backend_name(backend: enum_SoundIoBackend_1677722053): cstring {.cdecl,
    importc: "soundio_backend_name", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc best_matching_channel_layout(preferred_layouts: ptr struct_SoundIoChannelLayout_1677722059;
                                  preferred_layout_count: cint;
    available_layouts: ptr struct_SoundIoChannelLayout_1677722059;
                                  available_layout_count: cint): ptr struct_SoundIoChannelLayout_1677722059 {.
    cdecl, importc: "soundio_best_matching_channel_layout", ...raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc channel_layout_builtin_count(): cint {.cdecl,
    importc: "soundio_channel_layout_builtin_count", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc channel_layout_detect_builtin(layout: ptr struct_SoundIoChannelLayout_1677722059): bool {.
    cdecl, importc: "soundio_channel_layout_detect_builtin", ...raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc channel_layout_equal(a: ptr struct_SoundIoChannelLayout_1677722059;
                          b: ptr struct_SoundIoChannelLayout_1677722059): bool {.
    cdecl, importc: "soundio_channel_layout_equal", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc channel_layout_find_channel(layout: ptr struct_SoundIoChannelLayout_1677722059;
                                 channel: enum_SoundIoChannelId_1677722049): cint {.
    cdecl, importc: "soundio_channel_layout_find_channel", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc channel_layout_get_builtin(index: cint): ptr struct_SoundIoChannelLayout_1677722059 {.
    cdecl, importc: "soundio_channel_layout_get_builtin", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc channel_layout_get_default(channel_count: cint): ptr struct_SoundIoChannelLayout_1677722059 {.
    cdecl, importc: "soundio_channel_layout_get_default", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc connect(soundio: ptr struct_SoundIo_1677722065): cint {.cdecl,
    importc: "soundio_connect", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc connect_backend(soundio: ptr struct_SoundIo_1677722065;
                     backend: enum_SoundIoBackend_1677722053): cint {.cdecl,
    importc: "soundio_connect_backend", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc createSoundIO(): ptr struct_SoundIo_1677722065 {.cdecl,
    importc: "soundio_create", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc default_input_device_index(soundio: ptr struct_SoundIo_1677722065): cint {.
    cdecl, importc: "soundio_default_input_device_index", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc default_output_device_index(soundio: ptr struct_SoundIo_1677722065): cint {.
    cdecl, importc: "soundio_default_output_device_index", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc destroySoundIO(soundio: ptr struct_SoundIo_1677722065): void {.cdecl,
    importc: "soundio_destroy", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc device_equal(a: ptr struct_SoundIoDevice_1677722067;
                  b: ptr struct_SoundIoDevice_1677722067): bool {.cdecl,
    importc: "soundio_device_equal", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc device_nearest_sample_rate(device: ptr struct_SoundIoDevice_1677722067;
                                sample_rate: cint): cint {.cdecl,
    importc: "soundio_device_nearest_sample_rate", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc device_ref(device: ptr struct_SoundIoDevice_1677722067): void {.cdecl,
    importc: "soundio_device_ref", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc device_sort_channel_layouts(device: ptr struct_SoundIoDevice_1677722067): void {.
    cdecl, importc: "soundio_device_sort_channel_layouts", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc device_supports_format(device: ptr struct_SoundIoDevice_1677722067;
                            format: enum_SoundIoFormat_1677722057): bool {.
    cdecl, importc: "soundio_device_supports_format", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc device_supports_layout(device: ptr struct_SoundIoDevice_1677722067;
                            layout: ptr struct_SoundIoChannelLayout_1677722059): bool {.
    cdecl, importc: "soundio_device_supports_layout", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc device_supports_sample_rate(device: ptr struct_SoundIoDevice_1677722067;
                                 sample_rate: cint): bool {.cdecl,
    importc: "soundio_device_supports_sample_rate", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc device_unref(device: ptr struct_SoundIoDevice_1677722067): void {.cdecl,
    importc: "soundio_device_unref", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc disconnect(soundio: ptr struct_SoundIo_1677722065): void {.cdecl,
    importc: "soundio_disconnect", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc flush_events(soundio: ptr struct_SoundIo_1677722065): void {.cdecl,
    importc: "soundio_flush_events", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc force_device_scan(soundio: ptr struct_SoundIo_1677722065): void {.cdecl,
    importc: "soundio_force_device_scan", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc format_string(format: enum_SoundIoFormat_1677722057): cstring {.cdecl,
    importc: "soundio_format_string", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc get_backend(soundio: ptr struct_SoundIo_1677722065; index: cint): enum_SoundIoBackend_1677722053 {.
    cdecl, importc: "soundio_get_backend", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc get_bytes_per_sample(format: enum_SoundIoFormat_1677722057): cint {.cdecl,
    importc: "soundio_get_bytes_per_sample", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc get_channel_name(id: enum_SoundIoChannelId_1677722049): cstring {.cdecl,
    importc: "soundio_get_channel_name", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc get_input_device(soundio: ptr struct_SoundIo_1677722065; index: cint): ptr struct_SoundIoDevice_1677722067 {.
    cdecl, importc: "soundio_get_input_device", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc get_output_device(soundio: ptr struct_SoundIo_1677722065; index: cint): ptr struct_SoundIoDevice_1677722067 {.
    cdecl, importc: "soundio_get_output_device", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc have_backend(backend: enum_SoundIoBackend_1677722053): bool {.cdecl,
    importc: "soundio_have_backend", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc input_device_count(soundio: ptr struct_SoundIo_1677722065): cint {.cdecl,
    importc: "soundio_input_device_count", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc instream_begin_read(instream: ptr struct_SoundIoInStream_1677722071;
                         areas: ptr ptr struct_SoundIoChannelArea_1677722063;
                         frame_count: ptr cint): cint {.cdecl,
    importc: "soundio_instream_begin_read", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc instream_create(device: ptr struct_SoundIoDevice_1677722067): ptr struct_SoundIoInStream_1677722071 {.
    cdecl, importc: "soundio_instream_create", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc instream_destroy(instream: ptr struct_SoundIoInStream_1677722071): void {.
    cdecl, importc: "soundio_instream_destroy", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc instream_end_read(instream: ptr struct_SoundIoInStream_1677722071): cint {.
    cdecl, importc: "soundio_instream_end_read", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc instream_get_latency(instream: ptr struct_SoundIoInStream_1677722071;
                          out_latency: ptr cdouble): cint {.cdecl,
    importc: "soundio_instream_get_latency", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc instream_open(instream: ptr struct_SoundIoInStream_1677722071): cint {.
    cdecl, importc: "soundio_instream_open", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc instream_pause(instream: ptr struct_SoundIoInStream_1677722071; pause: bool): cint {.
    cdecl, importc: "soundio_instream_pause", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc instream_start(instream: ptr struct_SoundIoInStream_1677722071): cint {.
    cdecl, importc: "soundio_instream_start", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc listDevices(sio: ptr struct_SoundIo): cint {....raises: [IOError],
    tags: [WriteIOEffect], forbids: [].}
Source   Edit  
proc output_device_count(soundio: ptr struct_SoundIo_1677722065): cint {.cdecl,
    importc: "soundio_output_device_count", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc outstream_begin_write(outstream: ptr struct_SoundIoOutStream_1677722069;
                           areas: ptr ptr struct_SoundIoChannelArea_1677722063;
                           frame_count: ptr cint): cint {.cdecl,
    importc: "soundio_outstream_begin_write", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc outstream_clear_buffer(outstream: ptr struct_SoundIoOutStream_1677722069): cint {.
    cdecl, importc: "soundio_outstream_clear_buffer", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc outstream_create(device: ptr struct_SoundIoDevice_1677722067): ptr struct_SoundIoOutStream_1677722069 {.
    cdecl, importc: "soundio_outstream_create", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc outstream_destroy(outstream: ptr struct_SoundIoOutStream_1677722069): void {.
    cdecl, importc: "soundio_outstream_destroy", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc outstream_end_write(outstream: ptr struct_SoundIoOutStream_1677722069): cint {.
    cdecl, importc: "soundio_outstream_end_write", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc outstream_get_latency(outstream: ptr struct_SoundIoOutStream_1677722069;
                           out_latency: ptr cdouble): cint {.cdecl,
    importc: "soundio_outstream_get_latency", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc outstream_open(outstream: ptr struct_SoundIoOutStream_1677722069): cint {.
    cdecl, importc: "soundio_outstream_open", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc outstream_pause(outstream: ptr struct_SoundIoOutStream_1677722069;
                     pause: bool): cint {.cdecl,
    importc: "soundio_outstream_pause", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc outstream_set_volume(outstream: ptr struct_SoundIoOutStream_1677722069;
                          volume: cdouble): cint {.cdecl,
    importc: "soundio_outstream_set_volume", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc outstream_start(outstream: ptr struct_SoundIoOutStream_1677722069): cint {.
    cdecl, importc: "soundio_outstream_start", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc parse_channel_id(str: cstring; str_len: cint): enum_SoundIoChannelId_1677722049 {.
    cdecl, importc: "soundio_parse_channel_id", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_advance_read_ptr(ring_buffer: ptr struct_SoundIoRingBuffer;
                                  count: cint): void {.cdecl,
    importc: "soundio_ring_buffer_advance_read_ptr", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_advance_write_ptr(ring_buffer: ptr struct_SoundIoRingBuffer;
                                   count: cint): void {.cdecl,
    importc: "soundio_ring_buffer_advance_write_ptr", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_capacity(ring_buffer: ptr struct_SoundIoRingBuffer): cint {.
    cdecl, importc: "soundio_ring_buffer_capacity", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_clear(ring_buffer: ptr struct_SoundIoRingBuffer): void {.cdecl,
    importc: "soundio_ring_buffer_clear", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc ring_buffer_create(soundio: ptr struct_SoundIo_1677722065;
                        requested_capacity: cint): ptr struct_SoundIoRingBuffer {.
    cdecl, importc: "soundio_ring_buffer_create", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_destroy(ring_buffer: ptr struct_SoundIoRingBuffer): void {.
    cdecl, importc: "soundio_ring_buffer_destroy", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_fill_count(ring_buffer: ptr struct_SoundIoRingBuffer): cint {.
    cdecl, importc: "soundio_ring_buffer_fill_count", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_free_count(ring_buffer: ptr struct_SoundIoRingBuffer): cint {.
    cdecl, importc: "soundio_ring_buffer_free_count", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_read_ptr(ring_buffer: ptr struct_SoundIoRingBuffer): cstring {.
    cdecl, importc: "soundio_ring_buffer_read_ptr", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc ring_buffer_write_ptr(ring_buffer: ptr struct_SoundIoRingBuffer): cstring {.
    cdecl, importc: "soundio_ring_buffer_write_ptr", ...raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc sort_channel_layouts(layouts: ptr struct_SoundIoChannelLayout_1677722059;
                          layout_count: cint): void {.cdecl,
    importc: "soundio_sort_channel_layouts", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc strerror(error: cint): cstring {.cdecl, importc: "soundio_strerror",
                                      ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc version_major(): cint {.cdecl, importc: "soundio_version_major",
                             ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc version_minor(): cint {.cdecl, importc: "soundio_version_minor",
                             ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc version_patch(): cint {.cdecl, importc: "soundio_version_patch",
                             ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc version_string(): cstring {.cdecl, importc: "soundio_version_string",
                                 ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc wait_events(soundio: ptr struct_SoundIo_1677722065): void {.cdecl,
    importc: "soundio_wait_events", ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc wakeup(soundio: ptr struct_SoundIo_1677722065): void {.cdecl,
    importc: "soundio_wakeup", ...raises: [], tags: [], forbids: [].}
Source   Edit