properly handle meter channel count changes
authorRobin Gareus <robin@gareus.org>
Fri, 22 Jul 2016 10:56:55 +0000 (12:56 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 22 Jul 2016 10:57:24 +0000 (12:57 +0200)
commit87c38e1a269e09b40e8e8866961498c36ce95fbb
tree44a7e0a16dbe1980681680b3f168927e24bfeba5
parentd53d0faf931314ec180f4236db2dffda21e69071
properly handle meter channel count changes

* reset peak when switching type (audio/midi) or total count
* clamp to +40dBFS to prevent endless falloff for HUGE signals
libs/ardour/meter.cc