diff --git a/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java b/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java index 9daec0f271..8bb38cdbf9 100644 --- a/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java +++ b/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java @@ -54,7 +54,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer { private final int[] sortedVoiceVersions; private AudioFocusHelper mAudioFocusHelper; - private int streamType; + protected int streamType; protected AbstractPrologCommandPlayer(Context ctx, OsmandSettings settings, String voiceProvider, String configFile, int[] sortedVoiceVersions) throws CommandPlayerException diff --git a/OsmAnd/src/net/osmand/plus/voice/MediaCommandPlayerImpl.java b/OsmAnd/src/net/osmand/plus/voice/MediaCommandPlayerImpl.java index 6bc3414c2a..19bdc4228b 100644 --- a/OsmAnd/src/net/osmand/plus/voice/MediaCommandPlayerImpl.java +++ b/OsmAnd/src/net/osmand/plus/voice/MediaCommandPlayerImpl.java @@ -31,7 +31,6 @@ public class MediaCommandPlayerImpl extends AbstractPrologCommandPlayer implemen private MediaPlayer mediaPlayer; // indicates that player is ready to play first file private List filesToPlay = Collections.synchronizedList(new ArrayList()); - private int streamType; public MediaCommandPlayerImpl(Context ctx, OsmandSettings settings, String voiceProvider)