From 5c2c238d9114b2c626d9ef86edc6ee8bf75dbd8e Mon Sep 17 00:00:00 2001 From: beveloper Date: Mon, 2 Jun 2003 21:58:11 +0000 Subject: [PATCH] fix detection of Firewire devices git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3398 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/media/DefaultManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/media/DefaultManager.cpp b/src/servers/media/DefaultManager.cpp index 8c1bd2606f..97e13619c8 100644 --- a/src/servers/media/DefaultManager.cpp +++ b/src/servers/media/DefaultManager.cpp @@ -282,7 +282,7 @@ DefaultManager::FindPhysicalAudioIn() for (int i = 0; i < count; i++) { if (0 == strcmp(info[i].name, "None In")) // skip the Null audio driver continue; - if (0 == strcmp(info[i].name, "DV Input")) // skip the Firewire audio driver + if (0 != strstr(info[i].name, "DV Input")) // skip the Firewire audio driver continue; printf("Default physical audio input \"%s\" created!\n", info[i].name); fPhysicalAudioIn = info[i].node.node; @@ -331,7 +331,7 @@ DefaultManager::FindTimeSource() // The BeOS R5 None Out node pretend to be a physical time source, that is pretty dumb if (0 == strcmp(info[i].name, "None Out")) // skip the Null audio driver continue; - if (0 == strcmp(info[i].name, "DV Output")) // skip the Firewire audio driver + if (0 != strstr(info[i].name, "DV Output")) // skip the Firewire audio driver continue; printf("Default DAC timesource \"%s\" created!\n", info[i].name); fTimeSource = info[i].node.node;