device/device.go package level comment vs function commenty

This commit is contained in:
Ella Pietraroia 2020-04-23 14:54:25 +09:30
parent b9c413fdd2
commit 1dbf40952a
1 changed files with 4 additions and 4 deletions

View File

@ -24,8 +24,8 @@ LICENSE
in gpl.txt. If not, see http://www.gnu.org/licenses.
*/
// Package device describes a configurable audio or video device from which
// media data can be obtained, it is an io.Reader.
// Package device provides an interface and implementations for input devices
// that can be started and stopped from which media data can be obtained.
package device
import (
@ -35,8 +35,8 @@ import (
"bitbucket.org/ausocean/av/revid/config"
)
// Package device provides an interface and implementations for input devices
// that can be started and stopped from which media data can be obtained.
// AVDevice describes a configurable audio or video device from which media data
// can be obtained. AVDevice is an io.Reader.
type AVDevice interface {
io.Reader