VirtualBox

Changeset 60925 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 10, 2016 1:27:44 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107142
Message:

Audio: Update on infrastructure:

  • More work on HDA stream interleaving + surround support
  • The mixer can now (optionally) act as a supplemental layer between audio connector interface and device emulation (where applicable)
  • Multiple LUN streams can be bound to a certain sink, which in turn then can be treated as separate input/output channels
  • Unified more code which was duplicated between different audio device emulations
  • Tiny bit of documentation

Work in progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp

    r59987 r60925  
    139139    switch (as->enmFormat)
    140140    {
    141         case AUD_FMT_S8:
     141        case PDMAUDIOFMT_S8:
    142142            fSigned = 1;
    143         case AUD_FMT_U8:
     143        case PDMAUDIOFMT_U8:
    144144            break;
    145145
    146         case AUD_FMT_S16:
     146        case PDMAUDIOFMT_S16:
    147147            fSigned = 1;
    148         case AUD_FMT_U16:
     148        case PDMAUDIOFMT_U16:
    149149            cBits = 16;
    150150            cShift = 1;
    151151            break;
    152152
    153         case AUD_FMT_S32:
     153        case PDMAUDIOFMT_S32:
    154154            fSigned = 1;
    155         case AUD_FMT_U32:
     155        case PDMAUDIOFMT_U32:
    156156            cBits = 32;
    157157            cShift = 2;
Note: See TracChangeset for help on using the changeset viewer.

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