Proper Audio/Video Dumping

Screwed up the previous PR, replacing with new PR

Old notes: https://github.com/dolphin-emu/dolphin/pull/1183
And what exactly does `memset(.., NULL, NULL)` do different from a NOP?