With ogg files, they sometimes click or make another noise before they start playing normally, or don't start at all. This doesn't seem to depend on the file and happens at random, and importing it via the in-engine importer it works fine.
Adding a 300 millisecond delay before playing the file makes this issue occur less frequent.
I'm thinking this has to do with the engine still decoding the data, as the in-engine importer does the same as your code for loading ogg files.
Edit: formatting
With ogg files, they sometimes click or make another noise before they start playing normally, or don't start at all. This doesn't seem to depend on the file and happens at random, and importing it via the in-engine importer it works fine.
Adding a 300 millisecond delay before playing the file makes this issue occur less frequent.
I'm thinking this has to do with the engine still decoding the data, as the in-engine importer does the same as your code for loading ogg files.
Edit: formatting