diff --git a/revid/revid.go b/revid/revid.go index dbb03a2d..4885bc1b 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -45,7 +45,7 @@ import ( "bitbucket.org/ausocean/av/container/flv" "bitbucket.org/ausocean/av/container/mts" "bitbucket.org/ausocean/av/device" - "bitbucket.org/ausocean/av/device/audio" + "bitbucket.org/ausocean/av/device/alsa" "bitbucket.org/ausocean/av/device/file" "bitbucket.org/ausocean/av/device/geovision" "bitbucket.org/ausocean/av/device/raspivid" @@ -362,8 +362,8 @@ func (r *Revid) setupPipeline(mtsEnc func(dst io.WriteCloser, rate float64) (io. r.cfg.Logger.Log(logger.Fatal, pkg+"no audio codec set in config") } - r.input = audio.New(r.cfg.Logger) - cs := r.input.(*audio.ALSA).ChunkSize() + r.input = alsa.New(r.cfg.Logger) + cs := r.input.(*alsa.ALSA).ChunkSize() r.lexTo = codecutil.NewByteLexer(&cs).Lex }