libtrackerboy/private/wavwriter

  Source   Edit

DO NOT INCLUDE THIS MODULE!

This module is intended to only be used internally by trackerboy modules.

take me back home ↩

Types

WavWriter {.requiresInit.} = object
  file: File
  channels: int
  samplerate: int
  samplesWritten: int
  Source   Edit

Procs

proc `=destroy`(w: var WavWriter) {....raises: [Exception], tags: [RootEffect].}
  Source   Edit
proc close(w: var WavWriter): void {....raises: [IOError], tags: [WriteIOEffect].}
  Source   Edit
proc init(_: typedesc[WavWriter]; filename: sink string;
          channels, samplerate: int): WavWriter {....raises: [IOError].}
  Source   Edit
proc write(w: var WavWriter; data: openArray[PcmF32]) {....raises: [IOError],
    tags: [WriteIOEffect].}
  Source   Edit