hypothetical question but at what point in a AAA game's dev cycle do they start licensing songs for the soundtrack. just wondering

funny jesterimp does stuff
hypothetical question but at what point in a AAA game's dev cycle do they start licensing songs for the soundtrack. just wondering