{
switch (type) {
case BT_COMPONENT_CLASS_TYPE_SOURCE:
- return "BT_COMPONENT_CLASS_TYPE_SOURCE";
+ return "SOURCE";
case BT_COMPONENT_CLASS_TYPE_SINK:
- return "BT_COMPONENT_CLASS_TYPE_SINK";
+ return "SINK";
case BT_COMPONENT_CLASS_TYPE_FILTER:
- return "BT_COMPONENT_CLASS_TYPE_FILTER";
+ return "FILTER";
default:
return "(unknown)";
}