mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
alsa: fix a few comments
This commit is contained in:
parent
5bb1883e60
commit
5d4769b7dd
1 changed files with 1 additions and 2 deletions
|
|
@ -169,10 +169,10 @@ static int reserve_init(struct userdata *u, const char *dname) {
|
|||
if (pa_in_system_mode())
|
||||
return 0;
|
||||
|
||||
/* We are resuming, try to lock the device */
|
||||
if (!(rname = pa_alsa_get_reserve_name(dname)))
|
||||
return 0;
|
||||
|
||||
/* We are resuming, try to lock the device */
|
||||
u->reserve = pa_reserve_wrapper_get(u->core, rname);
|
||||
pa_xfree(rname);
|
||||
|
||||
|
|
@ -222,7 +222,6 @@ static int reserve_monitor_init(struct userdata *u, const char *dname) {
|
|||
if (pa_in_system_mode())
|
||||
return 0;
|
||||
|
||||
/* We are resuming, try to lock the device */
|
||||
if (!(rname = pa_alsa_get_reserve_name(dname)))
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue