refactor: adress formatting issues
This commit is contained in:
parent
b0be2e2c3c
commit
016dacfb29
1 changed files with 8 additions and 5 deletions
|
|
@ -89,7 +89,10 @@ public class LocalPlayer implements Playback {
|
||||||
.setContentType(C.CONTENT_TYPE_MUSIC)
|
.setContentType(C.CONTENT_TYPE_MUSIC)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
exoPlayer = new SimpleExoPlayer.Builder(context).setMediaSourceFactory(mediaSourceFactory).setAudioAttributes(audioAttributes, true).build();
|
exoPlayer = new SimpleExoPlayer.Builder(context)
|
||||||
|
.setMediaSourceFactory(mediaSourceFactory)
|
||||||
|
.setAudioAttributes(audioAttributes, true)
|
||||||
|
.build();
|
||||||
|
|
||||||
exoPlayer.addListener(eventListener);
|
exoPlayer.addListener(eventListener);
|
||||||
exoPlayer.prepare();
|
exoPlayer.prepare();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue