mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
allow changing of device directory path
Add configuration options to change the default device path from the default /dev/snd. This is useful for embedded systems that do not want subdirectories in /dev.
This commit is contained in:
parent
3f00bc728b
commit
09f598e57c
9 changed files with 41 additions and 17 deletions
|
|
@ -33,7 +33,7 @@
|
|||
const char *_snd_module_timer_hw = "";
|
||||
#endif
|
||||
|
||||
#define SNDRV_FILE_TIMER "/dev/snd/timer"
|
||||
#define SNDRV_FILE_TIMER ALSA_DEVICE_DIRECTORY "timer"
|
||||
#define SNDRV_TIMER_VERSION_MAX SNDRV_PROTOCOL_VERSION(2, 0, 5)
|
||||
|
||||
#define SNDRV_TIMER_IOCTL_STATUS_OLD _IOW('T', 0x14, struct sndrv_timer_status)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue