VirtualBox

Ignore:
Timestamp:
Apr 26, 2021 9:21:24 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144036
Message:

Audio: Changed PPDMAUDIOBACKENDSTREAM from opaque to a common base-structure which the backends can extend with their own data. bugref:9890

File:
1 edited

Legend:

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

    r88672 r88718  
    109109typedef struct ALSAAUDIOSTREAM
    110110{
     111    /** Common part. */
     112    PDMAUDIOBACKENDSTREAM   Core;
     113
    111114    /** Handle to the ALSA PCM stream. */
    112     snd_pcm_t          *hPCM;
     115    snd_pcm_t              *hPCM;
    113116    /** Internal stream offset (for debugging). */
    114     uint64_t            offInternal;
     117    uint64_t                offInternal;
    115118
    116119    /** The stream's acquired configuration. */
    117     PDMAUDIOSTREAMCFG   Cfg;
     120    PDMAUDIOSTREAMCFG       Cfg;
    118121    /** The acquired ALSA stream config (same as Cfg). */
    119     ALSAAUDIOSTREAMCFG  AlsaCfg;
     122    ALSAAUDIOSTREAMCFG      AlsaCfg;
    120123} ALSAAUDIOSTREAM;
    121124/** Pointer to the ALSA host audio specific stream data. */
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