duration

package
v1.0.1-0...-f8b349c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package duration provides a duration of audio from file or reader

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

Service provides duration of audio from file or reader

func (*Service) File

func (s *Service) File(fname string) int

File scans MP3 file from provided file and returns its duration in seconds, ignoring possible errors

Jump to

Keyboard shortcuts

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