audio. Get resoruce meta data when decoding.

In decode resoruce play callbakc, get the resource meta data.
Remove commented out code from decode resource.
Add resource format field to decode resource.