/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2008.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: include/sgx/audio/mixoutput.hpp

*/

#ifndef SGX_AUDIO_MIX_OUTPUT_HPP
#define SGX_AUDIO_MIX_OUTPUT_HPP	1

/**
This class is a temporary store. Instances of it are used to keep
track of the current volume/pan settings, as the sound passes through
each stage of the mixer.
*/
class CMixOutput {
public:
	tREAL32					m_fVolume;
	tREAL32					m_fPan;
	/** 
	This lets the system keep track of where the sounds has
	been assigned. NULL means it hasn't been assigned, or the underlying
	driver is maintaining this list on its own.
	*/
	CDeviceChannel			*m_pChannel;

	CMixOutput();
	void reset();
	};


#endif /* SGX_AUDIO_MIX_OUTPUT_HPP */


