Mercurial > hg > sv-dependency-builds
annotate src/portaudio_20161030/bindings/cpp/source/portaudiocpp/CallbackStream.cxx @ 55:284acf908dcd
Add source for PortAudio stable v190600_20161030
author | Chris Cannam |
---|---|
date | Tue, 03 Jan 2017 13:44:07 +0000 |
parents | src/portaudio/bindings/cpp/source/portaudiocpp/CallbackStream.cxx@e13257ea84a4 |
children |
rev | line source |
---|---|
Chris@55 | 1 #include "portaudiocpp/CallbackStream.hxx" |
Chris@55 | 2 |
Chris@55 | 3 namespace portaudio |
Chris@55 | 4 { |
Chris@55 | 5 CallbackStream::CallbackStream() |
Chris@55 | 6 { |
Chris@55 | 7 } |
Chris@55 | 8 |
Chris@55 | 9 CallbackStream::~CallbackStream() |
Chris@55 | 10 { |
Chris@55 | 11 } |
Chris@55 | 12 |
Chris@55 | 13 // ----------------------------------------------------------------------------------- |
Chris@55 | 14 |
Chris@55 | 15 double CallbackStream::cpuLoad() const |
Chris@55 | 16 { |
Chris@55 | 17 return Pa_GetStreamCpuLoad(stream_); |
Chris@55 | 18 } |
Chris@55 | 19 |
Chris@55 | 20 } // namespace portaudio |