Changes towards multi-channel source signals (i.e. for buffers with HOA...

Changes towards multi-channel source signals (i.e. for buffers with HOA samples used in ambient mixing renderer)
parent 4a70563f
......@@ -107,7 +107,7 @@ public:
*
* @note This method is called by the core to fetch data. If the core receives a NULL pointer it will be interpreted as silence.
*/
virtual const float* GetStreamBlock( const CVAAudiostreamState* pStreamInfo ) = 0;
virtual std::vector< const float* > GetStreamBlock( const CVAAudiostreamState* pStreamInfo ) = 0;
//! Parameter getter interaction hook
/**
......@@ -122,6 +122,12 @@ public:
*/
virtual void SetParameters( const CVAStruct& oIn ) = 0;
//! Returns number of channels (override in case you have more than one channel)
virtual int GetNumChannels() const
{
return 1;
};
private:
//! Register sound source at a core instance
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment