Documentation ¶
Index ¶
Constants ¶
View Source
const SampleRate = 48000
SampleRate is the sample rate used by FFMPEG.
Variables ¶
This section is empty.
Functions ¶
func NewFFPlaySink ¶
func NewFFPlaySink(debug ...bool) audio.PlaybackDevice
NewFFPlaySink creates a ffplay audio sink.
Types ¶
type FFPlaySink ¶
type FFPlaySink struct {
// contains filtered or unexported fields
}
func (*FFPlaySink) Close ¶
func (f *FFPlaySink) Close()
func (*FFPlaySink) PlayStream ¶
func (f *FFPlaySink) PlayStream(stream audio.Stream) error
Click to show internal directories.
Click to hide internal directories.