libpsynth 0.2.1
/home/raskolnikov/dev/psynth/trunk/src/psynth/sound/mono.hpp
Go to the documentation of this file.
00001 
00011 /*
00012  *  Copyright (C) 2010 Juan Pedro Bolivar Puente
00013  *
00014  *  This file is part of Psychosynth.
00015  *   
00016  *  Psychosynth is free software: you can redistribute it and/or modify
00017  *  it under the terms of the GNU General Public License as published by
00018  *  the Free Software Foundation, either version 3 of the License, or
00019  *  (at your option) any later version.
00020  *
00021  *  Psychosynth is distributed in the hope that it will be useful,
00022  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00024  *  GNU General Public License for more details.
00025  *
00026  *  You should have received a copy of the GNU General Public License
00027  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
00028  *
00029  */
00030 
00031 #ifndef PSYNTH_SOUND_MONO_H
00032 #define PSYNTH_SOUND_MONO_H
00033 
00034 #include <psynth/base/compat.hpp>
00035 #include <psynth/sound/util.hpp>
00036 
00037 #include <boost/type_traits.hpp>
00038 #include <boost/mpl/range_c.hpp>
00039 #include <boost/mpl/vector_c.hpp>
00040 
00041 namespace psynth
00042 {
00043 namespace sound
00044 {
00045 
00050 struct mono_channel {};
00051 
00055 typedef boost::mpl::vector1<mono_channel> mono_space;
00056 
00060 typedef layout<mono_space> mono_layout;
00061 
00062 } /* namespace sound */
00063 } /* namespace psynth */
00064 
00065 #endif /* PSYNTH_SOUND_MONO */