Skip to content

Commit

Permalink
Merge pull request xbmc#4568 from MartijnKaijser/fix_pydoc2
Browse files Browse the repository at this point in the history
[pydocs] update xbmc.PlaySFX example after 770091c
  • Loading branch information
t-nelson committed Apr 16, 2014
2 parents 3c90d9d + 2969e5c commit 6e8dd68
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions xbmc/interfaces/legacy/ModuleXbmc.h
Expand Up @@ -48,7 +48,8 @@ namespace XBMCAddon
* \n
* Text is written to the log for the following conditions.\n
* XBMC loglevel == -1 (NONE, nothing at all is logged)\n
* XBMC loglevel == 0 (NORMAL, shows LOGNOTICE, LOGERROR, LOGSEVERE and LOGFATAL) * XBMC loglevel == 1 (DEBUG, shows all)\n
* XBMC loglevel == 0 (NORMAL, shows LOGNOTICE, LOGERROR, LOGSEVERE and LOGFATAL)
* XBMC loglevel == 1 (DEBUG, shows all)\n
* See pydocs for valid values for level.\n
*
* example:
Expand Down Expand Up @@ -220,13 +221,14 @@ namespace XBMCAddon
String getInfoImage(const char * infotag);

/**
* playSFX(filename) -- Plays a wav file by filename
* playSFX(filename,[useCached]) -- Plays a wav file by filename
*
* filename : string - filename of the wav file to play.
* useCached : [opt] bool - False = Dump any previously cached wav associated with filename
*
* example:
* - xbmc.playSFX('special://xbmc/scripts/dingdong.wav')
* - xbmc.playSFX('special://xbmc/scripts/dingdong.wav')\n
* - xbmc.playSFX('special://xbmc/scripts/dingdong.wav',False)
*/
void playSFX(const char* filename, bool useCached = true);

Expand Down

0 comments on commit 6e8dd68

Please sign in to comment.