Method: Noyes::SpeechTrimmer#dequeue
- Defined in:
- lib/ruby_impl/speech_trimmer.rb
#dequeue ⇒ Object
60 61 62 63 64 |
# File 'lib/ruby_impl/speech_trimmer.rb', line 60 def dequeue if @eos_reached || (@speech_started && @queue.size > @ecs) @queue.shift end end |