mirror of https://github.com/mpv-player/mpv
ao_pipewire: fix indent
This commit is contained in:
parent
98f02e33ef
commit
221bf540a1
|
@ -550,15 +550,15 @@ static int control(struct ao *ao, enum aocontrol cmd, void *arg)
|
||||||
|
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
case AOCONTROL_GET_VOLUME: {
|
case AOCONTROL_GET_VOLUME: {
|
||||||
struct ao_control_vol *vol = arg;
|
struct ao_control_vol *vol = arg;
|
||||||
vol->left = spa_volume_to_mp_volume(p->volume[0]);
|
vol->left = spa_volume_to_mp_volume(p->volume[0]);
|
||||||
vol->right = spa_volume_to_mp_volume(p->volume[1]);
|
vol->right = spa_volume_to_mp_volume(p->volume[1]);
|
||||||
return CONTROL_OK;
|
return CONTROL_OK;
|
||||||
}
|
}
|
||||||
case AOCONTROL_GET_MUTE: {
|
case AOCONTROL_GET_MUTE: {
|
||||||
bool *muted = arg;
|
bool *muted = arg;
|
||||||
*muted = p->muted;
|
*muted = p->muted;
|
||||||
return CONTROL_OK;
|
return CONTROL_OK;
|
||||||
}
|
}
|
||||||
case AOCONTROL_SET_VOLUME:
|
case AOCONTROL_SET_VOLUME:
|
||||||
case AOCONTROL_SET_MUTE:
|
case AOCONTROL_SET_MUTE:
|
||||||
|
|
Loading…
Reference in New Issue