Procs
proc av_audio_fifo_alloc(sample_fmt: AVSampleFormat; channels, nb_samples: cint): ptr AVAudioFifo {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_drain(af: ptr AVAudioFifo; nb_samples: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_free(af: ptr AVAudioFifo) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_peek(af: ptr AVAudioFifo; data: ptr pointer; nb_samples: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_peek_at(af: ptr AVAudioFifo; data: ptr pointer; nb_samples, offset: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_read(af: ptr AVAudioFifo; data: ptr pointer; nb_samples: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_realloc(af: ptr AVAudioFifo; nb_samples: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_reset(af: ptr AVAudioFifo) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_size(af: ptr AVAudioFifo): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_space(af: ptr AVAudioFifo): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_audio_fifo_write(af: ptr AVAudioFifo; data: ptr pointer; nb_samples: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}