Wake waiting threads on channel release.
Return error to blocked audio threads on release.
Merge pull request #2096 from unknownbrackets/audio-minor

Resume threads when releasing a channel