Skip to content

Commit

Permalink
Merge pull request #15 from umjammer/1.9.16
Browse files Browse the repository at this point in the history
1.9.16
  • Loading branch information
umjammer authored Mar 30, 2024
2 parents 36cca0b + 56a2c2a commit b7b6e75
Show file tree
Hide file tree
Showing 9 changed files with 242 additions and 177 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ Both are in pure Java.

## References

* [Java Sound Programmer Guide](https://docs.oracle.com/javase/8/docs/technotes/guides/sound/programmer_guide/contents.html)

## TODO

* ~~encoder using https://github.com/nwaldispuehl/java-lame~~
* rename project as vavi-sound-mp3-javazoom
* rename project as vavi-sound-mp3
* out source tag parser (use like vavi-util-tag)
* out source version

----

Expand All @@ -50,7 +54,6 @@ It allows to play MPEG 1/2/2.5 Layer 1/2/3 files thanks to underlying [JLayer](h
and [Tritonus](https://github.com/umjammer/tritonus) libraries. This is a non-commercial project and anyone can add his
contribution. MP3SPI is licensed under LGPL (see [LICENSE](LICENSE.txt)).


## FAQ

### How to install MP3SPI ?
Expand Down
3 changes: 3 additions & 0 deletions local.properties.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#inFile=foo/bar.mp3

vavi.test.volume=0.02
55 changes: 42 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,49 @@

<groupId>net.javazoom</groupId>
<artifactId>mp3spi</artifactId>
<version>1.9.15</version>
<version>1.9.16</version>

<properties>
<tritonus.groupId>com.github.umjammer.tritonus</tritonus.groupId> <!-- org.tritonus / com.github.umjammer.tritonus -->
<tritonus.version>0.3.13</tritonus.version>

<vavi.test.volume>0.02</vavi.test.volume>
</properties>

<profiles>
<profile>
<id>local</id>
<activation>
<file>
<exists>${basedir}/local.properties</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<id>read-properties</id>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>${basedir}/local.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
Expand All @@ -33,7 +69,7 @@
<argLine>
--add-opens java.desktop/com.sun.media.sound=ALL-UNNAMED
-Djava.util.logging.config.file=${project.build.testOutputDirectory}/logging.properties
-Dvavi.test.volume=0.02
-Dvavi.test.volume=${vavi.test.volume}
</argLine>
<trimStackTrace>false</trimStackTrace>
</configuration>
Expand All @@ -53,7 +89,7 @@
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.10.1</version>
<version>5.10.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -62,9 +98,9 @@

<dependencies>
<dependency>
<groupId>com.github.umjammer</groupId>
<artifactId>vavi-commons</artifactId>
<version>1.1.10</version>
<groupId>com.github.umjammer</groupId> <!-- vavi / com.github.umjammer -->
<artifactId>vavi-sound</artifactId>
<version>1.0.18</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -110,12 +146,5 @@
<artifactId>junit-platform-commons</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.github.umjammer</groupId> <!-- vavi / com.github.umjammer -->
<artifactId>vavi-sound</artifactId>
<version>1.0.16</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit b7b6e75

Please sign in to comment.