/usr/include/stk/WvIn.h is in libstk0-dev 4.4.4-5+deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #ifndef STK_WVIN_H
#define STK_WVIN_H
#include "Stk.h"
namespace stk {
/***************************************************/
/*! \class WvIn
\brief STK audio input abstract base class.
This class provides common functionality for a variety of audio
data input subclasses.
by Perry R. Cook and Gary P. Scavone, 1995-2012.
*/
/***************************************************/
class WvIn : public Stk
{
public:
//! Return the number of audio channels in the data or stream.
unsigned int channelsOut( void ) const { return data_.channels(); };
//! Return an StkFrames reference to the last computed sample frame.
/*!
If no file data is loaded, an empty container is returned.
*/
const StkFrames& lastFrame( void ) const { return lastFrame_; };
//! Compute one sample frame and return the specified \c channel value.
virtual StkFloat tick( unsigned int channel = 0 ) = 0;
//! Fill the StkFrames argument with computed frames and return the same reference.
virtual StkFrames& tick( StkFrames& frames ) = 0;
protected:
StkFrames data_;
StkFrames lastFrame_;
};
} // stk namespace
#endif
|