Drop double semicolons

This commit is contained in:
Peter Hutterer 2021-05-20 11:20:19 +10:00 committed by Wim Taymans
parent b1610d37fe
commit 71c6a175c4
10 changed files with 14 additions and 14 deletions

View file

@ -1172,7 +1172,7 @@ static void mixer_volume_init(pa_card *impl, pa_alsa_device *dev)
pa_log_info("Using hardware volume control. Hardware dB scale %s.",
dev->mixer_path->has_dB ? "supported" : "not supported");
}
dev->device.base_volume = pa_sw_volume_to_linear(dev->base_volume);;
dev->device.base_volume = pa_sw_volume_to_linear(dev->base_volume);
dev->device.volume_step = 1.0f / dev->n_volume_steps;
if (impl->soft_mixer || !dev->mixer_path || !dev->mixer_path->has_mute) {
@ -1809,7 +1809,7 @@ int acp_device_set_volume(struct acp_device *dev, const float *volume, uint32_t
v.channels = d->mapping->channel_map.channels;
for (i = 0; i < v.channels; i++)
v.values[i] = pa_sw_volume_from_linear(volume[i % n_volume]);;
v.values[i] = pa_sw_volume_from_linear(volume[i % n_volume]);
pa_log_info("Set %s volume: min:%d max:%d",
d->set_volume ? "hardware" : "software",

View file

@ -153,7 +153,7 @@ static int emit_node(struct impl *this, struct acp_device *dev)
char positions[SPA_AUDIO_MAX_CHANNELS * 12];
struct spa_device_object_info info;
struct acp_card *card = this->card;
const char *stream, *devstr;;
const char *stream, *devstr;
info = SPA_DEVICE_OBJECT_INFO_INIT();
info.type = SPA_TYPE_INTERFACE_Node;

View file

@ -578,7 +578,7 @@ static int start_monitor(struct impl *this)
this->source.func = impl_on_fd_events;
this->source.data = this;
this->source.fd = udev_monitor_get_fd(this->umonitor);;
this->source.fd = udev_monitor_get_fd(this->umonitor);
this->source.mask = SPA_IO_IN | SPA_IO_ERR;
spa_log_debug(this->log, "monitor %p", this->umonitor);