match_endpoint_type
if (match_endpoint_type<media_input>(filterType)(inputBuffer[i])) {
if (match_endpoint_type<media_output>(filterType)(outputBuffer[i])) {