//===========================================================================// // File: btl4arnd.hh // // Project: MUNGA Brick: Audio Renderer Manager // // Contents: // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // 01/30/95 ECH Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1994, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #if !defined(BTL4ARND_HPP) # define BTL4ARND_HPP # if !defined(L4AUDRND_HPP) # include # endif //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BTL4AudioHead ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class Segment; class BTL4AudioHead: public AudioHead { public: // //-------------------------------------------------------------------- // Construction, Destruction, Testing //-------------------------------------------------------------------- // BTL4AudioHead(); ~BTL4AudioHead(); // //----------------------------------------------------------------------- // LinkToEntity //----------------------------------------------------------------------- // void LinkToEntity(Entity *entity); // //----------------------------------------------------------------------- // GetEarToWorld //----------------------------------------------------------------------- // LinearMatrix GetEarToWorld(); // //----------------------------------------------------------------------- // Execute //----------------------------------------------------------------------- // void Execute(); private: // //-------------------------------------------------------------------------- // Private methods //-------------------------------------------------------------------------- // void CalculateEarToWorld(); // //-------------------------------------------------------------------------- // Private Data //-------------------------------------------------------------------------- // Logical useEyepointSegment; EntitySegment* eyepointSegment; LinearMatrix earToWorld; }; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BTL4AudioRenderer ~~~~~~~~~~~~~~~~~~~~~~~~~~~ class BTL4AudioRenderer: public L4AudioRenderer { public: // //-------------------------------------------------------------------- // Construction, Destruction, Testing //-------------------------------------------------------------------- // BTL4AudioRenderer( RendererRate render_rate, Logical mission_review_mode ); ~BTL4AudioRenderer(); private: // //----------------------------------------------------------------------- // MakeAudioHead //----------------------------------------------------------------------- // AudioHead* MakeAudioHead(); }; #endif