extract method 'context_allocate_stream'
jack backend: return CUBEB_ERROR_INVALID_PARAMETER when appropriate