Game audio out of Sync in OBS while recording my gameplay on NS

Hello everyone. I have solve some problems with the laggy stuff in the video file in OBS and it seems like its ok honestly. I just need to resize my windows screen by being the same size for the OBS screen. yeah. Now I have a small issue. Can anyone tell me how to fix a game audio that is out of sync everytime I record my game on Nintendo Switch? When I press record, it did record the game audio but, when I stop the recording and finish it, the video file that I record my game on Switch is out of Sync for the audio. However, when I close OBS, I can still hear the game audio coming from my PC even so OBS is not open. This is really strange. Can someone please tell me how to fix this small issue?

I have a 4K Ultra HD capture card.