This is what happens to me.
If I turn on my N10 while it's charging there will be no sound in apps. Notifications will be fine.
If I unplug it and wait for a few seconds before turning it on, the sound will be fine.
Can you test these scenarios with your Nexus 10?