VirtualBox

Changeset 73642 in vbox for trunk


Ignore:
Timestamp:
Aug 14, 2018 8:48:55 AM (6 years ago)
Author:
vboxsync
Message:

Audio/ALSA stubs: Added snd_pcm_sw_params_get_start_threshold().

Location:
trunk/src/VBox/Devices/Audio
Files:
2 edited

Legend:

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

    r73161 r73642  
    6262#define snd_pcm_sw_params                       ALSA_MANGLER(snd_pcm_sw_params)
    6363#define snd_pcm_sw_params_current               ALSA_MANGLER(snd_pcm_sw_params_current)
     64#define snd_pcm_sw_params_get_start_threshold   ALSA_MANGLER(snd_pcm_sw_params_get_start_threshold)
     65#define snd_pcm_sw_params_set_avail_min         ALSA_MANGLER(snd_pcm_sw_params_set_avail_min)
    6466#define snd_pcm_sw_params_set_start_threshold   ALSA_MANGLER(snd_pcm_sw_params_set_start_threshold)
    65 #define snd_pcm_sw_params_set_avail_min         ALSA_MANGLER(snd_pcm_sw_params_set_avail_min)
    6667#define snd_pcm_sw_params_sizeof                ALSA_MANGLER(snd_pcm_sw_params_sizeof)
    6768
  • trunk/src/VBox/Devices/Audio/alsa_stubs.c

    r73161 r73642  
    136136           (snd_pcm_t *pcm, snd_pcm_sw_params_t *params),
    137137           (pcm, params))
     138PROXY_STUB(snd_pcm_sw_params_get_start_threshold, int,
     139           (const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val),
     140           (params, val))
    138141PROXY_STUB(snd_pcm_sw_params_set_avail_min, int,
    139142           (snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val),
     
    193196    ELEMENT(snd_pcm_sw_params),
    194197    ELEMENT(snd_pcm_sw_params_current),
     198    ELEMENT(snd_pcm_sw_params_get_start_threshold),
     199    ELEMENT(snd_pcm_sw_params_set_avail_min),
    195200    ELEMENT(snd_pcm_sw_params_set_start_threshold),
    196     ELEMENT(snd_pcm_sw_params_set_avail_min),
    197201    ELEMENT(snd_pcm_sw_params_sizeof),
    198202};
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