aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services/MediaPlayer.java
blob: 59e8bfecbea6e5489e042c1c84223fa8b0f03e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package de.pixart.messenger.services;

public class MediaPlayer extends android.media.MediaPlayer {
    private int streamType;

    public int getAudioStreamType() {
        return streamType;
    }

    @Override
    public void setAudioStreamType(int streamType) {
        this.streamType = streamType;
        super.setAudioStreamType(streamType);
    }
}