projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00ff622
)
fix silly error in removing channels from audio_diskstream
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 7 Mar 2008 20:49:47 +0000
(20:49 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 7 Mar 2008 20:49:47 +0000
(20:49 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3138
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/audio_diskstream.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audio_diskstream.cc
b/libs/ardour/audio_diskstream.cc
index 23832f4806d4a4cc56473fe6a5b08c4280266f70..82ffb9615597f026ad1d2123321b551b7f027fda 100644
(file)
--- a/
libs/ardour/audio_diskstream.cc
+++ b/
libs/ardour/audio_diskstream.cc
@@
-2243,7
+2243,7
@@
AudioDiskstream::add_channel (uint32_t how_many)
int
AudioDiskstream::remove_channel_from (boost::shared_ptr<ChannelList> c, uint32_t how_many)
{
- while (
--how_many
&& !c->empty()) {
+ while (
how_many--
&& !c->empty()) {
delete c->back();
c->pop_back();
}