Skip to content

Instantly share code, notes, and snippets.

@BitPuffin
Created December 4, 2013 12:31
Show Gist options
  • Save BitPuffin/7786741 to your computer and use it in GitHub Desktop.
Save BitPuffin/7786741 to your computer and use it in GitHub Desktop.
proc setupDevice*(): PDevice =
init()
let sampleFormat = newSampleFmt(16, 44100, 2)
result = newDevice(sampleFormat)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment