Skip to content

Commit c76a88c

Browse files
committed
windows wrong audio param
1 parent 58f4bdb commit c76a88c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

windows/APIExample/APIExample/Advanced/CustomAudioCapture/CAgoraCaptureAudioDlg.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ LRESULT CAgoraCaptureAduioDlg::OnEIDRemoteVideoStateChanged(WPARAM wParam, LPARA
9191

9292
CAgoraCaptureAduioDlg::CAgoraCaptureAduioDlg(CWnd* pParent /*=nullptr*/)
9393
: CDialogEx(IDD_DIALOG_CUSTOM_CAPTURE_AUDIO, pParent)
94+
, m_capAudioInfo{48000, 2}
95+
, m_renderAudioInfo {48000, 2}
9496
{
9597
m_audioFrame.buffer = new BYTE[48000 * 4 * 4];
9698
}

0 commit comments

Comments
 (0)