src: move sound layout handling to fragment