Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/seq/query.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static gboolean open_fd(int *fd, GError **error)
gboolean result;

if (!alsaseq_get_seq_devnode(&devname, error))
return -1;
return FALSE;

result = TRUE;
*fd = open(devname, O_RDONLY);
Expand Down
2 changes: 1 addition & 1 deletion src/timer/query.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static gboolean open_fd(int *fd, GError **error)
gboolean result;

if (!alsatimer_get_devnode(&devname, error))
return -1;
return FALSE;

result = TRUE;
*fd = open(devname, O_RDONLY);
Expand Down
4 changes: 2 additions & 2 deletions src/timer/user-instance.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ gboolean alsatimer_user_instance_attach(ALSATimerUserInstance *self, ALSATimerDe
* @error: A [struct@GLib.Error]. Error is generated with domain of `ALSATimer.UserInstanceError`.
*
* Attach the instance as an slave to another instance indicated by a pair of slave_class and
* slave_id. If the slave_class is [enum@SlaveClass:APPLICATION], the slave_id is for the PID of
* slave_id. If the slave_class is [enum@SlaveClass].APPLICATION, the slave_id is for the PID of
* application process which owns the instance of timer. If the slave_class is
* [enum@SlaveClass:SEQUENCER], the slave_id is the numeric ID of queue bound for timer device.
* [enum@SlaveClass].SEQUENCER, the slave_id is the numeric ID of queue bound for timer device.
*
* The call of function executes `ioctl(2)` system call with `SNDRV_TIMER_IOCTL_SELECT` command
* for ALSA timer character device.
Expand Down