Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "MP3"
name = "MP3Codec"
uuid = "84e92333-4865-4a61-b1f2-d6ec26b83890"
version = "1.1.0"

Expand All @@ -11,6 +11,7 @@ LAME_jll = "c1c5ebd0-6772-5130-a774-d5fcae4a789d"
mpg123_jll = "3205ef68-7822-558b-ad0d-1b4740f12437"

[compat]
julia = "1.6"
FileIO = "1"
FixedPointNumbers = "0.8"
SampledSignals = "2"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MP3

*This project is unmaintained*
*This project is in maintenance mode*

[![Tests](https://github.com/JuliaAudio/MP3.jl/actions/workflows/Tests.yml/badge.svg)](https://github.com/JuliaAudio/MP3.jl/actions/workflows/Tests.yml)
[![codecov.io](http://codecov.io/github/JuliaAudio/MP3.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaAudio/MP3.jl?branch=master)
Expand Down
4 changes: 2 additions & 2 deletions src/MP3.jl → src/MP3Codec.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module MP3
module MP3Codec

# package code goes here
using SampledSignals
Expand Down Expand Up @@ -35,7 +35,7 @@ function __init__()

# MP3 files with ID3v1 (or no tags) and ID3v2 tags have different headers
magic = (UInt8[0xff, 0xfb], UInt8[0x49, 0x44, 0x33])
add_format(format"MP3", magic, [".mp3"], [MP3])
add_format(format"MP3", magic, [".mp3"], [MP3Codec])
end

end # module
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using FileIO
using MP3
using MP3Codec
using SampledSignals

using Test
Expand Down Expand Up @@ -63,6 +63,6 @@ end
@test audio.samplerate == 44100
@test size(audio, 2) == size(reference, 2)
@test abs(size(audio, 1) - size(reference, 1)) <= DELAY_THRESHOLD

rm(outpath)
end
Loading