mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
[AFV] Update effects after adding new samples
This is necessary to regularly update the distance effects while moving
This commit is contained in:
committed by
Mat Sutcliffe
parent
ec68e756cd
commit
bff4eeb416
@@ -128,6 +128,7 @@ namespace BlackCore
|
||||
void CallsignSampleProvider::addOpusSamples(const IAudioDto &audioDto, float distanceRatio)
|
||||
{
|
||||
m_distanceRatio = distanceRatio;
|
||||
setEffects();
|
||||
|
||||
QVector<qint16> audio = decodeOpus(audioDto.audio);
|
||||
m_audioInput->addSamples(audio);
|
||||
|
||||
Reference in New Issue
Block a user