mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Drop double semicolons
This commit is contained in:
parent
b1610d37fe
commit
71c6a175c4
10 changed files with 14 additions and 14 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue