diff options
author | David Robillard <d@drobilla.net> | 2007-09-19 05:30:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-19 05:30:41 +0000 |
commit | 36b22fe2bea643d7d4ff69764016ae5be9c6de69 (patch) | |
tree | 19e99c3bfa011f8ef86ce1438b676d6826cad31a /src/libs/engine/Port.cpp | |
parent | 80d9c348e1e571837ae37cd28d342c81c14a52be (diff) | |
download | ingen-36b22fe2bea643d7d4ff69764016ae5be9c6de69.tar.gz ingen-36b22fe2bea643d7d4ff69764016ae5be9c6de69.tar.bz2 ingen-36b22fe2bea643d7d4ff69764016ae5be9c6de69.zip |
Broadcast polyphony changes to clients.
Fix some (not all) crashes on polyphony change.
git-svn-id: http://svn.drobilla.net/lad/ingen@725 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Port.cpp')
-rw-r--r-- | src/libs/engine/Port.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/Port.cpp b/src/libs/engine/Port.cpp index fe9e2c09..0a4c9f06 100644 --- a/src/libs/engine/Port.cpp +++ b/src/libs/engine/Port.cpp @@ -64,7 +64,7 @@ Port::prepare_poly(uint32_t poly) _prepared_buffers = new Raul::Array<Buffer*>(poly, *_buffers); _prepared_poly = poly; for (uint32_t i = _poly; i < _prepared_poly; ++i) - _buffers->at(i) = BufferFactory::create(_type, _buffer_size); + _prepared_buffers->at(i) = BufferFactory::create(_type, _buffer_size); } return true; |