Changeset 2059
- Timestamp:
- 03/03/12 08:15:04 (12 years ago)
- Files:
-
- trunk/libffado/src/dice/dice_avdevice.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/dice/dice_avdevice.cpp
r2057 r2059 993 993 Streaming::StreamProcessor *processor, 994 994 Streaming::Port::E_Direction direction) { 995 std::string dev_name; 995 996 996 997 std::string id=std::string("dev?"); 997 if(!getOption("id", id)) { 998 dev_name = getNickname(); 999 if(!getOption("id", id) && dev_name.size() == 0) { 998 1000 debugWarning("Could not retrieve id parameter, defauling to 'dev?'\n"); 999 1001 } 1000 1002 1003 if (dev_name.size() == 0) dev_name = id; 1001 1004 std::ostringstream portname; 1002 portname << id << "_" << channelInfo->name;1005 portname << dev_name << "/" << channelInfo->name; 1003 1006 1004 1007 Streaming::Port *p=NULL;