VirtualBox

Changeset 36327 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Mar 21, 2011 3:49:12 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70657
Message:

filteraudio: don't crash if input is not available (xtracker 5599)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/filteraudio.c

    r35487 r36327  
    603603    if (!pVoice->fIntercepted)
    604604    {
     605        if (!pVoice->fHostOK)
     606        {
     607            /* Host did not initialize the voice. */
     608            Log(("FilterAudio: [Input]: run_in voice %p (hw %p) not available on host\n", pVoice, pVoice->phw));
     609            return -1;
     610        }
     611
    605612        Log(("FilterAudio: [Input]: forwarding run_in for voice %p (hw %p)\n", pVoice, pVoice->phw));
    606613        return filter_conf.pDrv->pcm_ops->run_in(phw);
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