mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Fix setAudioStream
This commit is contained in:
1 parent
9c78c886e1
commit
d6477e808f
4 files changed
+21
-3
No files matched your search
@@ -569,6 +569,17 @@ bool MediaEngine::setVideoStream(int streamNum, bool force) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MediaEngine::setAudioStream(int streamNum) {
|
||||
if (m_audioStream == streamNum)
|
||||
return true;
|
||||
|
||||
m_audioStream = streamNum;
|
||||
if (m_demux) {
|
||||
m_demux->setAudioChannel(streamNum);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MediaEngine::setVideoDim(int width, int height)
|
||||
{
|
||||
#ifdef USE_FFMPEG
|
||||
|
||||
Reference in new issue
Block a user