snapshot of *almost* working playback

The sampling rate is a little off; like I am supplying too many samples.

remove unused constants

I just use the AudioFormat constants.

squash

Fix the frequency bug

Send both channels into CoreAudio

clean up the memory

Call AudioQueueFreeBuffer and AudioQueueDispose
Fix the length of the array...

remove old flags

seems to work just as a float

Call AudioQueueFreeBuffer

The julia wrapper was just a stub...

enqueue all of the buffers

let the audio queue state machine deal with clean up

clean up enqueueBuffer function

use const; remove println calls

clean up AudioQueueFreeBuffer

remove println

Get size of elements from variable

Use sizeof and size :)

Don't store all of the buffers in the user data

not necessary

remove remaing println statements

much cleaner

remove stereo assumption

mono arrays don't sound right; something is getting overwritten still

But, this doesn't break stereo playback

Add constraints to audio data enqueuing

Make sure that the number of samples isn't larger than those in the subarray.

(squash)Add constraints to audio data enqueuing

Make sure that the number of samples isn't larger than those in the subarray.

Fix bug with mono playback

Account for number of channels in the core audio index

Make unsigned int types consistent in audioqueue
remove unused argument from wavplay signature

lint
Move wavplay convenience function to main wav

No need to duplicate these in every implementation.
remove lint warning in ieee_float_container_type

The type annotation isn't needed
Use inner constructors for WAVFormat type
Add a dimension to the extra_bytes member

more lint checking
Use inner constructors for WAVFormatExtension

cleaner
Full define the sub_format member in WAVFormatExtension

lint; faster
rethink write_header so that the unused type isn't needed

less code too
Use anonymous variables for dispatch

more lint recommendations.
Use anonymous variables in convert_pcm_to_double

more lint recommendations.
Do not pass format to write_companded_samples

It isn't used. (lint)
Remove type annotations from companding functions

Recommended by lint
Remove chunk_size from read integer functions

less code; thanks lint
remove chunk_size from read_ieee_float_samples

remove another function method.
fix bug in wavread refactor

change default subrange parameter to "None."
Fix lint warnings in audioqueue implementation