mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
bug 2290: Bail if no DTMF sequence
This commit is contained in:
@@ -133,6 +133,8 @@ unsigned EffectDtmf::GetAudioOutCount()
|
||||
|
||||
bool EffectDtmf::ProcessInitialize(sampleCount WXUNUSED(totalLen), ChannelNames WXUNUSED(chanMap))
|
||||
{
|
||||
if (dtmfNTones <= 0) // Bail if no DTFM sequence.
|
||||
return false;
|
||||
double duration = GetDuration();
|
||||
|
||||
// all dtmf sequence durations in samples from seconds
|
||||
|
Reference in New Issue
Block a user