Signed-off-by: Jaroslav Kysela <perex@perex.cz>
SNDERR("Invalid type for %s", id);
return -EINVAL;
}
- if (strcmp(str, "no") == 0)
+ if (strcmp(str, "no") == 0 || strcmp(str, "off") == 0)
rec->hw_ptr_alignment = SND_PCM_HW_PTR_ALIGNMENT_NO;
else if (strcmp(str, "roundup") == 0)
rec->hw_ptr_alignment = SND_PCM_HW_PTR_ALIGNMENT_ROUNDUP;
ipc_perm INT # IPC permissions (octal, default 0600)
hw_ptr_alignment STR # Slave application and hw pointer alignment type
# STR can be one of the below strings :
- # no
+ # no (or off)
# roundup
# rounddown
# auto (default)
ipc_perm INT # IPC permissions (octal, default 0600)
hw_ptr_alignment STR # Slave application and hw pointer alignment type
# STR can be one of the below strings :
- # no
+ # no (or off)
# roundup
# rounddown
# auto (default)
ipc_perm INT # IPC permissions (octal, default 0600)
hw_ptr_alignment STR # Slave application and hw pointer alignment type
# STR can be one of the below strings :
- # no
+ # no (or off)
# roundup
# rounddown
# auto (default)