Thanks for the pointers.
@steven, this is only happening with m4a files. Once i converted them to mp3, they worked perfectly. For the record, I first tried converting m4a to FLAC (not sure if that's a compatible one), the FLAC files also had similar issues as m4a.
I will try with the patch and see if m4a continues to be an issue.