VirtualBox

Ignore:
Timestamp:
Jun 21, 2021 1:27:53 PM (3 years ago)
Author:
vboxsync
Message:

DevSB16,DevIchAc97: Mixer info. bugref:9890

File:
1 edited

Legend:

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

    r89810 r89822  
    25872587
    25882588/*********************************************************************************************************************************
     2589*   Debug Info Items                                                                                                             *
     2590*********************************************************************************************************************************/
     2591
     2592/**
     2593 * @callback_method_impl{FNDBGFHANDLERDEV, sb16mixer}
     2594 */
     2595static DECLCALLBACK(void) sb16DbgInfoMixer(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs)
     2596{
     2597    PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE);
     2598    if (pThis->pMixer)
     2599        AudioMixerDebug(pThis->pMixer, pHlp, pszArgs);
     2600    else
     2601        pHlp->pfnPrintf(pHlp, "Mixer not available\n");
     2602}
     2603
     2604
     2605/*********************************************************************************************************************************
    25892606*   IBase implementation                                                                                                         *
    25902607*********************************************************************************************************************************/
     
    30383055                               "Number of bytes used in the internal DMA buffer.",  "Stream%u/DMABufUsed", idxStream);
    30393056    }
     3057
     3058    /*
     3059     * Debug info items.
     3060     */
     3061    //PDMDevHlpDBGFInfoRegister(pDevIns, "sb16",         "SB16 registers. (sb16 [register case-insensitive])", sb16DbgInfo);
     3062    //PDMDevHlpDBGFInfoRegister(pDevIns, "sb16stream",   "SB16 stream info. (sb16stream [stream number])", sb16DbgInfoStream);
     3063    PDMDevHlpDBGFInfoRegister(pDevIns, "sb16mixer",    "SB16 mixer state.", sb16DbgInfoMixer);
    30403064
    30413065    return VINF_SUCCESS;
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