1 Comment

  1. Utpal
    December 1, 2015 @ 8:42 pm

    libcanberra can do that for you just fine, just set the CA_PROP_MEDIA_FILENAME property when calilng ca_context_play().ca_context_play(ca_gtk_context_get(), 0, CA_PROP_MEDIA_FILENAME, path, NULL);If you need this from a shell use canberra-gtk-play which basically does this but a lot fancier.Note that while just passing the one filename is sufficient we encourage you to pass more properties, to easy a11y, yadda yadda.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *