Documentation ¶
Index ¶
- Constants
- Variables
- func AreaCommandFactory() (cli.Command, error)
- func BrowseCommandFactory() (cli.Command, error)
- func BrowseLiveCommandFactory() (cli.Command, error)
- func ConcatAACFiles(ctx context.Context, input []string, resourcesDir string, output string) error
- func ConcatAACFilesAll(ctx context.Context, files []string, resourcesDir string, output string) error
- func ConcatAACFilesFromList(ctx context.Context, resourcesDir string) (string, error)
- func ConvertAACtoMP3(ctx context.Context, input, output string) error
- func RecCommandFactory() (cli.Command, error)
- func RecLiveCommandFactory() (cli.Command, error)
- func Version() string
- type OutputConfig
Constants ¶
View Source
const ( AudioFormatAAC = "aac" AudioFormatMP3 = "mp3" )
Variables ¶
View Source
var Ui cli.Ui
Functions ¶
func AreaCommandFactory ¶
func BrowseCommandFactory ¶
func ConcatAACFiles ¶ added in v0.7.0
func ConcatAACFilesAll ¶ added in v0.9.0
func ConcatAACFilesAll(ctx context.Context, files []string, resourcesDir string, output string) error
ConcatAACFiles concatenate files of the same type.
func ConcatAACFilesFromList ¶ added in v0.7.0
ConcatAACFilesFromList concatenates files from the list of resources.
func ConvertAACtoMP3 ¶ added in v0.7.0
ConvertAACtoMP3 converts an aac file to a mp3 file.
func RecCommandFactory ¶
func RecLiveCommandFactory ¶
Types ¶
type OutputConfig ¶ added in v0.7.0
type OutputConfig struct { DirFullPath string FileBaseName string // base name of the file FileFormat string // aac, mp3 }
OutputConfig contains the configuration for output files.
func NewOutputConfig ¶ added in v0.7.0
func NewOutputConfig(fileBaseName, fileFormat string) (*OutputConfig, error)
func (*OutputConfig) AbsPath ¶ added in v0.7.0
func (c *OutputConfig) AbsPath() string
func (*OutputConfig) AudioFormat ¶ added in v0.7.0
func (c *OutputConfig) AudioFormat() string
func (*OutputConfig) IsExist ¶ added in v0.7.0
func (c *OutputConfig) IsExist() bool
func (*OutputConfig) SetupDir ¶ added in v0.7.0
func (c *OutputConfig) SetupDir() error
SetupDir configures the output directory or returns an error if failed to create it.
func (*OutputConfig) TempAACDir ¶ added in v0.7.0
func (c *OutputConfig) TempAACDir() (string, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.