added 3G name based on box type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12467 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -650,6 +650,12 @@ echo_setup(echo_dev * card)
|
|||||||
|
|
||||||
echo_dump_caps(card);
|
echo_dump_caps(card);
|
||||||
|
|
||||||
|
#ifdef ECHO24_FAMILY
|
||||||
|
if (card->type == ECHO3G) {
|
||||||
|
strncpy(card->caps.szName, ((C3g*)card->pEG)->Get3gBoxName(), ECHO_MAXNAMELEN);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
status = card->pEG->OpenMixer(card->mixer);
|
status = card->pEG->OpenMixer(card->mixer);
|
||||||
if (status != ECHOSTATUS_OK)
|
if (status != ECHOSTATUS_OK)
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
|
|||||||
Reference in New Issue
Block a user