Activity for Dejan Jovasevic

  • Dejan Jovasevic Dejan Jovasevic posted a comment on discussion Open Discussion

    The issue was not in the way I edited the ALSA config itself, but the way user space application was getting device hints from ALSA. I was looping through sound cards and then for each card I would call snd_device_name_hint (int card, const char *iface, void ***hints). and get back array of hints for all devices on that card. However, when I changed the logic and instead of looping through cards I called the fucntion with -1 snd_device_name_hint(-1,....) , I got back array with hints for all cards...

  • Dejan Jovasevic Dejan Jovasevic modified a comment on discussion Open Discussion

    Hi there, I was wondering if it is possible to edit /etc/asound.conf in such a way as to create alias names for specific devices, and then when a user space application enumerates audio devices have these aliases show up? My goal is to be able to create an alias for 2 hdmi playback devices (outputdev1, outputdev2 for instance), and then use this alias when searching for alsa devices in the application. ie. outputdev1 => plughw:CARD=X,DEV=Y outputdev2 => plughw:CARD=X,DEV=Z I have been able to create...

  • Dejan Jovasevic Dejan Jovasevic modified a comment on discussion Open Discussion

    Hi there, I was wondering if it is possible to edit /etc/asound.conf in such a way as to create alias names for specific devices, and then when a user space application enumerates audio devices have these aliases show up? My goal is to be able to create an alias for 2 hdmi playback devices (outputdev1, outputdev2 for instance), and then use this alias when searching for alsa devices in the application. ie. outputdev1 => plughw:CARD=X,DEV=Y outputdev2 => plughw:CARD=X,DEV=Z I have been able to create...

  • Dejan Jovasevic Dejan Jovasevic posted a comment on discussion Open Discussion

    Hi there, I was wondering if it is possible to edit /etc/asound.conf in such a way as to create alias names for specific devices, and then when a user space application enumerates audio devices have these aliases show up? My goal is to be able to create an alias for 2 hdmi playback devices (outputdev1, outputdev2 for instance), and then use this alias when searching for alsa devices in the application. ie. outputdev1 => plughw:CARD=X,DEV=Y outputdev2 => plughw:CARD=X,DEV=Z I have been able to create...

1