class Worker::AudioPreparer

Overview

Prepare audios for playback

Defined in:

worker/audio_preparer.cr

Constant Summary

AUDIO_AWAIT_CHECK_INTERVAL = 1.second
AUDIO_AWAIT_TIMEOUT = 20.seconds
Log = Worker::Log.for("audio_preparer")
MAX_AUDIO_DURATION = 20.minutes

Constructors

Instance Method Summary

Constructor Detail

def self.new(worker : Worker) #

[View source]

Instance Method Detail

def prepare(audio : AudioPlayer::Audio) : Nil #

[View source]