Gnash
0.8.10
|
00001 // SoundEnvelope.h - sound envelopes 00002 // 00003 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 00004 // Free Software Foundation, Inc 00005 // 00006 // This program is free software; you can redistribute it and/or modify 00007 // it under the terms of the GNU General Public License as published by 00008 // the Free Software Foundation; either version 3 of the License, or 00009 // (at your option) any later version. 00010 // 00011 // This program is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 // GNU General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU General Public License 00017 // along with this program; if not, write to the Free Software 00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00019 00020 #ifndef SOUND_SOUNDENVELOPE_H 00021 #define SOUND_SOUNDENVELOPE_H 00022 00023 #include <boost/cstdint.hpp> // For C99 int types 00024 #include <vector> // for SoundEnvelopes typedef 00025 00026 00027 namespace gnash { 00028 namespace sound { 00029 00031 // 00035 // 00038 class SoundEnvelope 00039 { 00040 public: 00041 00043 // 00050 boost::uint32_t m_mark44; 00051 00053 boost::uint16_t m_level0; 00054 00056 boost::uint16_t m_level1; 00057 }; 00058 00060 typedef std::vector<SoundEnvelope> SoundEnvelopes; 00061 00062 00063 00064 } // gnash.sound namespace 00065 } // namespace gnash 00066 00067 #endif // SOUND_SOUNDENVELOPE_H