VirtualBox

Changeset 59470 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 26, 2016 11:32:46 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105230
Message:

Audio: Warn on non-available audio streams based on the host audio backend's capabilities -- now the device emulation can ask the backend for its configuration to figure out how many input/output streams are supported by that backend. As the device emulation knows how many channels it finally implements, we there then can decide how to deal with the missing streams.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmaudioifs.h

    r59420 r59470  
    508508
    509509    /**
     510     * Retrieves the current configuration of the host audio backend.
     511     *
     512     * @returns VBox status code.
     513     *
     514     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     515     * @param   pCfg            Where to store the host audio backend configuration data.
     516     */
     517    DECLR3CALLBACKMEMBER(int, pfnGetConfiguration, (PPDMIAUDIOCONNECTOR pInterface, PPDMAUDIOBACKENDCFG pCfg));
     518
     519    /**
    510520     * Checks whether a specific guest input stream is active or not.
    511521     *
     
    576586                                            PDMAUDIORECSOURCE enmRecSource, PPDMAUDIOSTREAMCFG pCfg,
    577587                                            PPDMAUDIOGSTSTRMIN *ppGstStrmIn));
    578 
    579588    /**
    580589     * Creates a guest output stream.
     
    622631
    623632/** PDMIAUDIOCONNECTOR interface ID. */
    624 #define PDMIAUDIOCONNECTOR_IID                  "7040b289-306f-454e-87ff-e90889004464"
     633#define PDMIAUDIOCONNECTOR_IID                  "8f8ca10e-9039-423c-9a77-0014aaa98626"
    625634
    626635
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