removes a few pieces of cruft

This commit is contained in:
Spencer Russell 2016-03-23 19:54:14 -04:00
parent ae923ba3a6
commit 8a3bebff2c

View file

@ -114,7 +114,6 @@ type PortAudioStream{T, U}
fieldptr(this, :bufstate))
this.stream = Pa_OpenStream(inparams, outparams, float(sr), bufsize,
paNoFlag, pa_callbacks[T], fieldptr(this, :bufinfo))
@schedule audiotask(this)
Pa_StartStream(this.stream)
@ -169,8 +168,6 @@ function Base.close(stream::PortAudioStream)
Pa_StopStream(stream.stream)
Pa_CloseStream(stream.stream)
stream.stream = C_NULL
# wake the audio task so it can exit
notify(stream.taskcond)
end
end