Assets/Plugins/Unity.DSPGraph/Runtime/DSPCommandBlock.cs
/// <summary>
/// Retains the same attenuation value till the specified DSPClock time is reached
/// </summary>
/// <param name="connection">The DSPConnection on which the attenuation is retained</param>
/// <param name="dspClock">The DSPClock time upto which attenuation value is kept unchanged</param>
Retains the same attenuation value till the specified DSPClock time is reached
Retains the same attenuation value till the specified DSPClock time is reached
public void SustainAttenuation(DSPConnection connection, long dspClock)
        {
            AssertSameGraphAsConnection(connection);
            QueueCommand(new SustainAttenuationCommand
            {
                m_Type = DSPCommandType.SustainAttenuation,
                m_Graph = m_Graph,
                m_Handle = m_Handle,
                m_Connection = connection.Handle,
                m_DSPClock = (ulong)dspClock,
            });
        }
public void SustainAttenuation ( DSPConnection connection , long dspClock ) { AssertSameGraphAsConnection ( connection ) ; QueueCommand ( new SustainAttenuationCommand { m_Type = DSPCommandType . SustainAttenuation , m_Graph = m_Graph , m_Handle = m_Handle , m_Connection = connection . Handle , m_DSPClock = ( ulong ) dspClock , } ) ; }
Retains the same attenuation value till the specified DSPClock time is reached
Retains the same attenuation value till the specified DSPClock time is reached
connection
DSPConnection
The DSPConnection on which the attenuation is retained
The DSPConnection on which the attenuation is retained
dspClock
long
The DSPClock time upto which attenuation value is kept unchanged
The DSPClock time upto which attenuation value is kept unchanged