VirtualBox

Changeset 89472 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 2, 2021 9:01:43 PM (4 years ago)
Author:
vboxsync
Message:

DrvHostAudioAlsa: Use snd_pcm_set_chmap to identify the channels we're outputting. [fix] bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioAlsaStubs.h

    r89471 r89472  
    2525#include <alsa/version.h>
    2626
    27 #define VBOX_ALSA_MAKE_VER(a,b,c)   ( ((a) << 24) | ((b) << 16) | (a) )
     27#define VBOX_ALSA_MAKE_VER(a,b,c)   ( ((a) << 24) | ((b) << 16) | (c) )
    2828#define VBOX_ALSA_VER               VBOX_ALSA_MAKE_VER(SND_LIB_MAJOR, SND_LIB_MINOR, SND_LIB_SUBMINOR)
    2929
     
    5252    unsigned int channels, pos[0];
    5353} snd_pcm_chmap_t;
    54 extern int snd_pcm_set_chmap(snd_pcm_t *, const snd_pcm_chmap_t *);
     54extern int snd_pcm_set_chmap(snd_pcm_t *, snd_pcm_chmap_t const *);
    5555#endif
    5656
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