From a603f4a917bd5a7d806ff8394e2bfbe0f64acc64 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 21 Jun 2006 03:27:16 +0000 Subject: Got the audio flowing git-svn-id: http://svn.drobilla.net/lad/grauph@70 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/TypedConnection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs/engine/TypedConnection.h') diff --git a/src/libs/engine/TypedConnection.h b/src/libs/engine/TypedConnection.h index c75ece6e..9bd339bb 100644 --- a/src/libs/engine/TypedConnection.h +++ b/src/libs/engine/TypedConnection.h @@ -61,7 +61,7 @@ private: TypedConnection& operator=(const TypedConnection&); Buffer* m_local_buffer; ///< Only used for poly->mono connections - bool m_is_poly_to_mono; + bool m_must_mix; size_t m_buffer_size; bool m_pending_disconnection; }; @@ -73,7 +73,7 @@ TypedConnection::buffer(size_t voice) const { TypedPort* const src_port = (TypedPort*)m_src_port; - if (m_is_poly_to_mono) { + if (m_must_mix) { return m_local_buffer; } else { if (src_port->poly() == 1) -- cgit v1.2.1