A simple example to test the Wii U webcam and microphone.
AFAIK this is the first open source Wii U webcam example ever! :D
The webcam uses the NV12 format.
If you'd like to investigate the raw format of the above image: raw image
NOTE: Cemu does not support a webcam. (I just copied a raw image from my Wii U into Cemu's sdcard folder.)
signed 16-bit PCM, big-endian, mono, 32000 Hz
You can convert it with audacity
Get latest devkitpro.
$ cd samples/make/camtest
$ make
Thanks to xhp-creations for the header files:
Thanks to NessieHax...
- for a microphone example
- for adding mic.h to wut (Although I'm still using the libcafe version.)
The libcafe headers I have adapted for my wut fork: