diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-06 15:19:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-06 15:19:16 +0100 |
| commit | 1417c1c7f05f438c44fc117bbdca428b3eefae23 (patch) | |
| tree | f44440e2623e58f341fa36485c828dacef13acb6 /src/types.h | |
| parent | d94c70b00d7079af6bfcec2e2e2a528e86f2d607 (diff) | |
Increase number of channels in the Channel enum just in case
casting to it from int is undefined if the int is out of range.
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/types.h b/src/types.h index e02c36eb..a309121a 100644 --- a/src/types.h +++ b/src/types.h @@ -42,8 +42,12 @@ enum Channel { LFE = 3, ///< low-frequency effects (sub) LS = 4, ///< left surround RS = 5, ///< right surround - CHANNEL_7 = 6, ///< channel 7; not sure what this should be called - CHANNEL_8 = 7 ///< channel 8; not sure what this should be called + HI = 6, + VI = 7, + LC = 8, + RC = 9, + BSL = 10, + BSR = 111 }; enum ContentKind |
