Last change
on this file since 12652 was 12328, checked in by Don-vip, 7 years ago |
fix #2089 - Add support for MP3, AIFF and AAC audio codecs (.mp3, .aac, .aif, .aiff files) if Java FX is on the classpath (i.e. Windows, macOS, nearly all major Linux distributions). The classes are not public on purpose, as the whole system will have to be simplified when all Linux distributions propose Java FX and so we can get rid of old Java Sound implementation.
|
File size:
368 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.io.audio;
|
---|
3 |
|
---|
4 | import java.net.URL;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Listener receiving audio playing events.
|
---|
8 | * @since 12328
|
---|
9 | */
|
---|
10 | interface AudioListener {
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * Called when a new URL is being played.
|
---|
14 | * @param playingURL new URL being played
|
---|
15 | */
|
---|
16 | void playing(URL playingURL);
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.