VirtualBox

Changeset 31039 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Jul 23, 2010 8:47:18 AM (14 years ago)
Author:
vboxsync
Message:

Audio/HDA: size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevCodec.cpp

    r31030 r31039  
    416416    return VINF_SUCCESS;
    417417}
    418 #define STAC9220_VERB_SIZE 61
    419 static CODECVERB STAC9220VERB[STAC9220_VERB_SIZE] =
     418
     419static CODECVERB STAC9220VERB[] =
    420420{
    421421/*    verb     | verb mask              | callback               */
     
    577577    audsettings_t as;
    578578    pState->pVerbs = (CODECVERB *)&STAC9220VERB;
    579     pState->cVerbs = STAC9220_VERB_SIZE;
     579    pState->cVerbs = sizeof(STAC9220VERB)/sizeof(CODECVERB);
    580580    pState->pfnLookup = codecLookup;
    581581    pState->pNodes = (PCODECNODE)RTMemAllocZ(sizeof(CODECNODE) * STAC9220_NODE_COUNT);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette