diff options
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h new file mode 100644 index 00000000..286c3623 --- /dev/null +++ b/src/types.h @@ -0,0 +1,38 @@ +/* + Copyright (C) 2012 Carl Hetherington <cth@carlh.net> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#ifndef LIBDCP_CHANNEL_H +#define LIBDCP_CHANNEL_H + +namespace libdcp +{ + +/** Identifier for a sound channel */ +enum Channel { + LEFT = 0, ///< left + RIGHT = 1, ///< right + CENTRE = 2, ///< centre + LFE = 3, ///< low-frequency effects (sub) + LS = 4, ///< left surround + RS = 5 ///< right surround +}; + +} + +#endif |
