• Max Kellermann's avatar
    pulse_mixer: wait for get_volume() operation to complete · 8258457b
    Max Kellermann authored
    The pa_context_get_sink_input_info() function is asynchronous, and
    after it returns, libpulse does not guarantee that the operation has
    completed yet; in fact, it is not likely.  Explicitly wait for the
    operation to complete.
    
    The code for the new pulse_wait_for_operation() function was inspired
    by mplayer and xine code.
    8258457b
Name
Last commit
Last update
..
alsa_mixer.c Loading commit data...
oss_mixer.c Loading commit data...
pulse_mixer.c Loading commit data...