VirtualBox

Ignore:
Timestamp:
Dec 7, 2018 10:03:39 AM (6 years ago)
Author:
vboxsync
Message:

Audio/HDA: Also initialize PCM shift when falling back to 2 (stereo) channels (bugref:9303).

File:
1 edited

Legend:

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

    r76018 r76045  
    251251                 "falling back to stereo channels for stream #%RU8\n", Props.cChannels, uSD));
    252252        Props.cChannels = 2;
     253        Props.cShift    = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(Props.cBytes, Props.cChannels);
    253254    }
    254255#endif
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