Permalink
Browse files

sceVaudio: Fix typo in constant name.

Same value, but this is clearer.
  • Loading branch information...
unknownbrackets committed Jun 8, 2017
1 parent 2c01bc8 commit 1339bf18c1cb5ba70fe7d81000c71767df4723cf
Showing with 3 additions and 3 deletions.
  1. +3 −3 Core/HLE/sceVaudio.cpp
View
@@ -74,10 +74,10 @@ static u32 sceVaudioChRelease() {
static u32 sceVaudioOutputBlocking(int vol, u32 buffer) {
DEBUG_LOG(SCEAUDIO, "sceVaudioOutputBlocking(%i, %08x)", vol, buffer);
chans[PSP_AUDIO_CHANNEL_OUTPUT2].leftVolume = vol;
chans[PSP_AUDIO_CHANNEL_OUTPUT2].rightVolume = vol;
chans[PSP_AUDIO_CHANNEL_VAUDIO].leftVolume = vol;
chans[PSP_AUDIO_CHANNEL_VAUDIO].rightVolume = vol;
// TODO: This may be wrong, not sure if's in a different format?
chans[PSP_AUDIO_CHANNEL_OUTPUT2].sampleAddress = buffer;
chans[PSP_AUDIO_CHANNEL_VAUDIO].sampleAddress = buffer;
return __AudioEnqueue(chans[PSP_AUDIO_CHANNEL_VAUDIO], PSP_AUDIO_CHANNEL_VAUDIO, true);
}

0 comments on commit 1339bf1

Please sign in to comment.