Changeset 2201
- Timestamp:
- 09/02/12 23:33:09 (12 years ago)
- Files:
-
- trunk/libffado/src/dice/dice_avdevice.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/dice/dice_avdevice.cpp
r2200 r2201 869 869 // request the channel names 870 870 if (names_audio.size() != nb_audio) { 871 char *dir_str = (direction == Streaming::Port::E_Capture) ? "input" : "output"; 871 872 debugWarning("The audio channel name vector is incorrect, using default names\n"); 872 873 names_audio.clear(); … … 874 875 for (unsigned int j=0;j<nb_audio;j++) { 875 876 std::ostringstream newname; 876 newname << "1394_"<< i << ":" << j;877 newname << dir_str << i << ":" << j; 877 878 names_audio.push_back(newname.str()); 878 879 }