audiotags

package
v0.0.0-...-ce70d39 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: AGPL-3.0, LGPL-2.1 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JPEG = iota
	PNG  = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioProperties

type AudioProperties struct {
	Length, LengthMs, Bitrate, Samplerate, Channels int
}

type File

type File C.TagLib_FileRefRef

func Open

func Open(filename string) (*File, error)

func (*File) Close

func (f *File) Close()

func (*File) HasMedia

func (f *File) HasMedia() bool

func (*File) ReadAudioProperties

func (f *File) ReadAudioProperties() *AudioProperties

func (*File) ReadImage

func (f *File) ReadImage() (image.Image, error)

func (*File) ReadTags

func (f *File) ReadTags() keyMap

func (*File) RemovePictures

func (f *File) RemovePictures() bool

func (*File) WriteImage

func (f *File) WriteImage(img image.Image, format int) error

func (*File) WriteImageData

func (f *File) WriteImageData(data []byte, fmt, w, h int) bool

func (*File) WriteTags

func (f *File) WriteTags(tagMap keyMap) bool

Jump to

Keyboard shortcuts

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