Procs
proc av_get_alt_sample_fmt(sample_fmt: AVSampleFormat; planar: cint): AVSampleFormat {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_bytes_per_sample(sample_fmt: AVSampleFormat): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_packed_sample_fmt(sample_fmt: AVSampleFormat): AVSampleFormat {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_planar_sample_fmt(saample_fmt: AVSampleFormat): AVSampleFormat {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_sample_fmt(name: cstring): AVSampleFormat {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_sample_fmt_name(sample_fmt: AVSampleFormat): cstring {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_sample_fmt_string(buf: cstring; buf_size: cint; sample_fmt: AVSampleFormat): cstring {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_sample_fmt_is_planar(sample_fmt: AVSampleFormat): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_samples_alloc(audio_data: ptr ptr uint8; linesize: ptr cint; buf: ptr uint8; nb_channels: cint; nb_samples: cint; sample_fmt: AVSampleFormat; align: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_samples_alloc_array_and_samples(audio_data: ptr ptr uint8; linesize: ptr cint; buf: ptr uint8; nb_channels: cint; nb_samples: cint; sample_fmt: AVSampleFormat; align: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_samples_copy(dst: ptr ptr uint8; src: ptr ptr uint8; dst_offset: cint; src_offset: cint; nb_samples: cint; nb_channels: cint; sample_fmt: AVSampleFormat): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_samples_fill_arrays(audio_data: ptr ptr uint8; linesize: ptr cint; buf: ptr uint8; nb_channels: cint; nb_samples: cint; sample_fmt: AVSampleFormat; align: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_samples_get_buffer_size(linesize: ptr cint; nb_channels: cint; nb_samples: cint; sample_fmt: AVSampleFormat; align: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_samples_set_silence(audio_data: ptr ptr uint8; offset: cint; nb_samples: cint; nb_channels: cint; sample_fmt: AVSampleFormat): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}