Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSession ¶
func NewSession(b FFmpegBackend, cfg input.SessionConfig) (*execread.Session, error)
Types ¶
type ALSADevice ¶
type ALSADevice string
ALSADevice is a string that is the path to /dev/audioN.
func ParseALSADevice ¶
func ParseALSADevice(hwString string) (ALSADevice, error)
ParseALSADevice parses %d:%d
func (ALSADevice) InputArgs ¶
func (d ALSADevice) InputArgs() []string
func (ALSADevice) String ¶
func (d ALSADevice) String() string
type FFmpegBackend ¶
type FFmpegBackend interface {
InputArgs() []string
}
type Sndio ¶
type Sndio struct{}
Sndio is the sndio input for FFmpeg.
type SndioDevice ¶
type SndioDevice string
SndioDevice is a string that is the path to /dev/audioN.
func (SndioDevice) InputArgs ¶
func (d SndioDevice) InputArgs() []string
func (SndioDevice) String ¶
func (d SndioDevice) String() string
Click to show internal directories.
Click to hide internal directories.