minor fix

This commit is contained in:
shenweip 2020-08-01 19:50:23 +08:00
parent fd619c9fc5
commit 5de721bb4c
2 changed files with 3 additions and 3 deletions

View File

@ -272,7 +272,6 @@ void __KernelDoState(PointerWrap &p)
__UmdDoState(p);
__UtilityDoState(p);
__UsbDoState(p);
__UsbMicDoState(p);
__VaudioDoState(p);
__HeapDoState(p);
@ -282,6 +281,7 @@ void __KernelDoState(PointerWrap &p)
__VideoPmpDoState(p);
__AACDoState(p);
__UsbGpsDoState(p);
__UsbMicDoState(p);
// IMPORTANT! Add new sections last!
}

View File

@ -106,8 +106,8 @@ AudioFormatTransform g_AudioFormats[] = {
const int g_cVideoFormats = ARRAYSIZE(g_VideoFormats);
const int g_cAudioFormats = ARRAYSIZE(g_AudioFormats);
MediaParam defaultVideoParam = { 640, 480, 0, MFVideoFormat_RGB24 };
MediaParam defaultAudioParam = { 44100, 2, 2, MFAudioFormat_PCM };
MediaParam defaultVideoParam = { 640, 480, 0, MFVideoFormat_RGB24 };
MediaParam defaultAudioParam = { 44100, 2, 16, MFAudioFormat_PCM };
HRESULT GetDefaultStride(IMFMediaType *pType, LONG *plStride);