2014-07-23, 16:13
Hi guys,
I'm currently playing with sound support in my skin and have found the sound.xml file in the skins /sound directory that allows the playing of a sound file based on a navigation action. Trouble is I can't find the list of allowable actions to assign the sound files to, does anyone know where I can find this list?
Also the sound.xml file allows the playing of a sound based on the display of a window, does anyone know if you can use a custom skin window as a target for the playing of a sound. If so, how would you I go about defining the window in the <name> tag of the windows section of this file (I'm assuming you would use something like <name>foobar.xml</name>)
The point of these questions is that I currently have a 'bump' sound playing when I hit either end of my home menu list (using PlayMedia(special://skin/sounds/bump.wav) ), but there are a number of minor issues that I need to code around that I think would drop away if I could make use of the sound.xml file instead.
Does anyone have any ideas on this, or where I would need to look in the XBMC codebase to find the answers I'm after?
Wyrm (xTV-SAF)
I'm currently playing with sound support in my skin and have found the sound.xml file in the skins /sound directory that allows the playing of a sound file based on a navigation action. Trouble is I can't find the list of allowable actions to assign the sound files to, does anyone know where I can find this list?
Also the sound.xml file allows the playing of a sound based on the display of a window, does anyone know if you can use a custom skin window as a target for the playing of a sound. If so, how would you I go about defining the window in the <name> tag of the windows section of this file (I'm assuming you would use something like <name>foobar.xml</name>)
The point of these questions is that I currently have a 'bump' sound playing when I hit either end of my home menu list (using PlayMedia(special://skin/sounds/bump.wav) ), but there are a number of minor issues that I need to code around that I think would drop away if I could make use of the sound.xml file instead.
Does anyone have any ideas on this, or where I would need to look in the XBMC codebase to find the answers I'm after?
Wyrm (xTV-SAF)