Mercurial > hg > sv-dependency-builds
annotate src/portaudio_20140130/bindings/cpp/source/portaudiocpp/CallbackStream.cxx @ 39:7ddb4fc30dac
Current stable PortAudio source
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2016 13:11:05 +0100 |
parents | |
children |
rev | line source |
---|---|
Chris@39 | 1 #include "portaudiocpp/CallbackStream.hxx" |
Chris@39 | 2 |
Chris@39 | 3 namespace portaudio |
Chris@39 | 4 { |
Chris@39 | 5 CallbackStream::CallbackStream() |
Chris@39 | 6 { |
Chris@39 | 7 } |
Chris@39 | 8 |
Chris@39 | 9 CallbackStream::~CallbackStream() |
Chris@39 | 10 { |
Chris@39 | 11 } |
Chris@39 | 12 |
Chris@39 | 13 // ----------------------------------------------------------------------------------- |
Chris@39 | 14 |
Chris@39 | 15 double CallbackStream::cpuLoad() const |
Chris@39 | 16 { |
Chris@39 | 17 return Pa_GetStreamCpuLoad(stream_); |
Chris@39 | 18 } |
Chris@39 | 19 |
Chris@39 | 20 } // namespace portaudio |