ChannelId and ChannelLayoutId enumeration have a max value

This commit is contained in:
Raphaël Londeix 2015-12-07 03:21:45 +01:00
parent 2e7994b0b3
commit aa3749a062

View file

@ -183,6 +183,8 @@ enum SoundIoChannelId {
SoundIoChannelIdAux13, SoundIoChannelIdAux13,
SoundIoChannelIdAux14, SoundIoChannelIdAux14,
SoundIoChannelIdAux15, SoundIoChannelIdAux15,
SoundIoChannelIdMax
}; };
/// Built-in channel layouts for convenience. /// Built-in channel layouts for convenience.
@ -213,6 +215,8 @@ enum SoundIoChannelLayoutId {
SoundIoChannelLayoutId7Point1Wide, SoundIoChannelLayoutId7Point1Wide,
SoundIoChannelLayoutId7Point1WideBack, SoundIoChannelLayoutId7Point1WideBack,
SoundIoChannelLayoutIdOctagonal, SoundIoChannelLayoutIdOctagonal,
SoundIoChannelLayoutIdMax
}; };
enum SoundIoBackend { enum SoundIoBackend {