added parameter access to waveoutput class
This commit is contained in:
@@ -115,6 +115,11 @@ void WaveOutput::close()
|
||||
}
|
||||
}
|
||||
|
||||
const AudioRenderingParams &WaveOutput::params() const
|
||||
{
|
||||
return params_;
|
||||
}
|
||||
|
||||
void WaveOutput::switch_endianness(QByteArray& array)
|
||||
{
|
||||
int half_sz = array.size()/2;
|
||||
|
||||
@@ -25,6 +25,8 @@ public:
|
||||
|
||||
void close();
|
||||
|
||||
const AudioRenderingParams& params() const;
|
||||
|
||||
private:
|
||||
template<typename T>
|
||||
void write_int(QFile* file, T integer);
|
||||
|
||||
Reference in New Issue
Block a user