From 735a7863845da130e6c727136aac75c2e7bf23da Mon Sep 17 00:00:00 2001 From: xegineering Date: Sun, 6 Oct 2024 17:58:34 +0200 Subject: Add missing doc string to public function --- stream.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stream.go b/stream.go index ac0a189..cc8fcea 100644 --- a/stream.go +++ b/stream.go @@ -11,6 +11,9 @@ import ( // incoming audio stream data. const streamingPort = 5316 +// StreamURLContext streams audio from a given URL to one or multiple soundbox +// devices. The devices are referenced via their MAC addresses given by the +// targets argument. The ctx argument is passed to cancel the streaming. func StreamURLContext(ctx context.Context, url string, targets []net.HardwareAddr) error { iface, err := getInterface() if err != nil { -- cgit v1.2.3-70-g09d2