rename read callback
pass options to DIRAC
add processing function for DIRAC
parse sample rate and # channels
add processing loop and write to stdout

also ensure that stdout isn't a terminal
turn unused warnings back on
add reading.  it works!