Change ALSA device default to 'default' from hw:0
[zynaddsubfx-code.git] / src / Misc / Stereo.h
blob73e2a63f6083149e0271514f8a8d3e9e2c7ca9d8
1 /*
2 ZynAddSubFX - a software synthesizer
4 Stereo.h - Object for storing a pair of objects
5 Copyright (C) 2009-2009 Mark McCurry
6 Author: Mark McCurry
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
13 #ifndef STEREO_H
14 #define STEREO_H
16 namespace zyn {
18 template<class T>
19 struct Stereo {
20 public:
21 Stereo(const T &left, const T &right);
23 /**Initializes Stereo with left and right set to val
24 * @param val the value for both channels*/
25 Stereo(const T &val);
27 //data
28 T l, r;
33 #include "Stereo.cpp"
34 #endif