added stereoVolumeVector and surroundVolumeVector-declarations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@870 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -129,13 +129,8 @@ void samplePlayHandle::play( bool /* _try_parallelizing */ )
|
||||
&& !( m_bbTrack && m_bbTrack->muted() ) )
|
||||
{
|
||||
sampleFrame * buf = new sampleFrame[frames];
|
||||
volumeVector v = { { m_volumeModel->value(),
|
||||
m_volumeModel->value()
|
||||
#ifndef DISABLE_SURROUND
|
||||
, m_volumeModel->value(),
|
||||
m_volumeModel->value()
|
||||
#endif
|
||||
} } ;
|
||||
stereoVolumeVector v = { { m_volumeModel->value(),
|
||||
m_volumeModel->value() } };
|
||||
m_sampleBuffer->play( buf, &m_state, frames );
|
||||
engine::getMixer()->bufferToPort( buf, frames, offset(), v,
|
||||
m_audioPort );
|
||||
|
||||
@@ -202,9 +202,9 @@ surroundAreaModel::surroundAreaModel( ::model * _parent, track * _track,
|
||||
|
||||
|
||||
|
||||
volumeVector surroundAreaModel::getVolumeVector( float _v_scale ) const
|
||||
surroundVolumeVector surroundAreaModel::getVolumeVector( float _v_scale ) const
|
||||
{
|
||||
volumeVector v = { { _v_scale, _v_scale
|
||||
surroundVolumeVector v = { { _v_scale, _v_scale
|
||||
#ifndef DISABLE_SURROUND
|
||||
, _v_scale, _v_scale
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user