audio

package
v0.0.0-...-fefc7c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioStream

type AudioStream struct {
	Stream      io.Reader
	Name        string
	Genre       string
	URL         string
	Description string
}

AudioStream represents an internet radio station with a stream of audio.

func Connect

func Connect(url string) (AudioStream, error)

Connect will connect to an audio stream and return a handle to the stream and additional metadata.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL