"L. Spiro Engine"
|
00001 /******************************************************************** 00002 * * 00003 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 00004 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 00005 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 00006 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 00007 * * 00008 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * 00009 * by the Xiph.Org Foundation http://www.xiph.org/ * 00010 * * 00011 ******************************************************************** 00012 00013 function: #ifdef jail to whip a few platforms into the UNIX ideal. 00014 last mod: $Id: os.h 16227 2009-07-08 06:58:46Z xiphmont $ 00015 00016 ********************************************************************/ 00017 00018 00019 #ifndef __LSS_VORBISOS_H__ 00020 #define __LSS_VORBISOS_H__ 00021 00022 #include "../LSSSoundLib.h" 00023 00024 namespace lss { 00025 00032 class CVorbisOs { 00033 // All is public. This class has no secrets. 00034 public : 00035 // == Types. 00039 typedef LSINT16 vorbis_fpu_control; 00040 00041 00042 // == Functions. 00049 static LSINT32 vorbis_ftoi( LSDOUBLE _dVal ); 00050 00056 static LSVOID vorbis_fpu_setround( vorbis_fpu_control * _pvfcFpu ); 00057 00063 static LSVOID vorbis_fpu_restore( vorbis_fpu_control _vfcFpu ); 00064 }; 00065 00066 } // namespace lss 00067 00068 #endif // __LSS_VORBISOS_H__ 00069