| 1319 | // list port info in verbose mode |
---|
| 1320 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "Port Information\n"); |
---|
| 1321 | int nb_ports; |
---|
| 1322 | |
---|
| 1323 | debugOutputShort( DEBUG_LEVEL_VERBOSE, " Playback\n"); |
---|
| 1324 | nb_ports = getPortCount(Port::E_Playback); |
---|
| 1325 | for(int i=0; i < nb_ports; i++) { |
---|
| 1326 | Port *p = getPortByIndex(i, Port::E_Playback); |
---|
| 1327 | debugOutputShort( DEBUG_LEVEL_VERBOSE, " %3d (%p): ", i, p); |
---|
| 1328 | if (p) { |
---|
| 1329 | bool disabled = p->isDisabled(); |
---|
| 1330 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "[%p] [%3s] ", &p->getManager(), (disabled?"off":"on")); |
---|
| 1331 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "[%7s] ", p->getPortTypeName().c_str()); |
---|
| 1332 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "%3s ", p->getName().c_str()); |
---|
| 1333 | } else { |
---|
| 1334 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "invalid "); |
---|
| 1335 | } |
---|
| 1336 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "\n"); |
---|
| 1337 | } |
---|
| 1338 | debugOutputShort( DEBUG_LEVEL_VERBOSE, " Capture\n"); |
---|
| 1339 | nb_ports = getPortCount(Port::E_Capture); |
---|
| 1340 | for(int i=0; i < nb_ports; i++) { |
---|
| 1341 | Port *p = getPortByIndex(i, Port::E_Capture); |
---|
| 1342 | debugOutputShort( DEBUG_LEVEL_VERBOSE, " %3d (%p): ", i, p); |
---|
| 1343 | if (p) { |
---|
| 1344 | bool disabled = p->isDisabled(); |
---|
| 1345 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "[%p] [%3s] ", &p->getManager(), (disabled?"off":"on")); |
---|
| 1346 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "[%7s] ", p->getPortTypeName().c_str()); |
---|
| 1347 | debugOutputShort( DEBUG_LEVEL_VERBOSE, " %3s ", p->getName().c_str()); |
---|
| 1348 | } else { |
---|
| 1349 | debugOutputShort( DEBUG_LEVEL_VERBOSE, " invalid "); |
---|
| 1350 | } |
---|
| 1351 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "\n"); |
---|
| 1352 | } |
---|
| 1353 | |
---|
| 1354 | debugOutputShort( DEBUG_LEVEL_VERBOSE, "----------------------------------------------------\n"); |
---|
| 1355 | |
---|