xiami

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMagicHeader = errors.New("xm magic header not matched")
)

Functions

func NewDecoder

func NewDecoder(p *common.DecoderParams) common.Decoder

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

func (*Decoder) GetAudioExt

func (d *Decoder) GetAudioExt() string

func (*Decoder) Read

func (d *Decoder) Read(p []byte) (int, error)

func (*Decoder) Validate

func (d *Decoder) Validate() error

Validate checks if the file is a valid xiami .xm file. rd will set to the beginning of the encrypted audio data.

Jump to

Keyboard shortcuts

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