Пример #1
0
void synthv1_lv2ui::write_function (
	synthv1::ParamIndex index, float fValue ) const
{
	m_write_function(m_controller,
		synthv1_lv2::ParamBase + index, sizeof(float), 0, &fValue);
}
Пример #2
0
					/**
					 * \brief Write data to the port.
					 * \param data The data to write.
					 * \param handler The handler to call when the write is complete.
					 */
					void async_write(boost::asio::const_buffer data, write_handler_type handler)
					{
						m_write_function(data, handler);
					}