Documentation ¶
Index ¶
- Variables
- func LoadBinary(ctx context.Context, bin []byte)
- type File
- func (f File) Bitrate() int
- func (f File) Channels() int
- func (f File) Close()
- func (f File) GetTag(key string) []string
- func (f File) IterTags() iter.Seq2[string, []string]
- func (f File) Length() time.Duration
- func (f File) SampleRate() int
- func (f File) Save() error
- func (f File) SetTag(key string, vs ...string)
- type FileType
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidFile = fmt.Errorf("invalid file")
View Source
var ErrSavingFile = fmt.Errorf("can't save file")
Functions ¶
func LoadBinary ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.