You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
445 B
14 lines
445 B
package org.airsonic.player.service.jukebox;
|
|
|
|
import org.airsonic.player.service.JukeboxLegacySubsonicService;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import java.io.InputStream;
|
|
|
|
@Component
|
|
public class AudioPlayerFactory {
|
|
|
|
public AudioPlayer createAudioPlayer(InputStream in, JukeboxLegacySubsonicService jukeboxLegacySubsonicService) throws Exception {
|
|
return new AudioPlayer(in, jukeboxLegacySubsonicService);
|
|
}
|
|
}
|
|
|