|
libpsynth 0.2.1
|
00001 00012 /* 00013 * Copyright (C) 2011 Juan Pedro BolĂvar Puente 00014 * 00015 * This file is part of Psychosynth. 00016 * 00017 * Psychosynth is free software: you can redistribute it and/or modify 00018 * it under the terms of the GNU General Public License as published by 00019 * the Free Software Foundation, either version 3 of the License, or 00020 * (at your option) any later version. 00021 * 00022 * Psychosynth is distributed in the hope that it will be useful, 00023 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 * GNU General Public License for more details. 00026 * 00027 * You should have received a copy of the GNU General Public License 00028 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00029 * 00030 */ 00031 00032 #ifndef PSYNTH_GRAPH_BUFFERS_H_ 00033 #define PSYNTH_GRAPH_BUFFERS_H_ 00034 00040 #include <psynth/sound/buffer.hpp> 00041 #include <psynth/sound/ring_buffer.hpp> 00042 #include <psynth/sound/buffer_range.hpp> 00043 #include <psynth/sound/ring_buffer_range.hpp> 00044 00045 #include <psynth/sound/typedefs.hpp> 00046 00047 namespace psynth 00048 { 00049 namespace graph 00050 { 00051 00052 typedef sound::stereo32sf_planar_buffer audio_buffer; 00053 typedef sound::stereo32sf_planar_range audio_range; 00054 typedef sound::stereo32sfc_planar_range audio_const_range; 00055 typedef sound::stereo32sf_planar_ring_buffer audio_ring_buffer; 00056 typedef sound::stereo32sf_planar_ring_range audio_ring_range; 00057 typedef audio_range::value_type audio_frame; 00058 typedef sound::bits32sf audio_sample; 00059 00060 typedef sound::mono32sf_buffer sample_buffer; 00061 typedef sound::mono32sf_range sample_range; 00062 typedef sound::mono32sfc_range sample_const_range; 00063 typedef sound::mono32sf_ring_buffer sample_ring_buffer; 00064 typedef sound::mono32sf_ring_range sample_ring_range; 00065 typedef typename sample_range::value_type sample_frame; 00066 typedef sound::bits32sf sample_sample; 00067 00068 } /* namespace graph */ 00069 } /* namespace psynth */ 00070 00071 #endif /* PSYNTH_GRAPH_BUFFERS_H_ */
1.7.4