Correctly set the channel layout
Cast UInt32 format string argument to unsigned int