I was also quite confused about this when writing the code. I'll now try to remove these two lines, and see if it will work. I think we don't need to convert channel layout here.