mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 23:00:06 +02:00
bug 2290: Bail if no DTMF sequence
This commit is contained in:
parent
9cd7a5eaf3
commit
32a60103b4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user