| wxString DATABASE_EXPORT_SPEC Sound( | const | wxString | & | filename | ) |
|
Provides a full path to a sound file. Sound files are by default stored in the /sounds directory. However, the user may have selected an alternate subdirectory under /sounds for custom sounds. This function determines if the given file is in the custom directory (if any) and returns the path to it if it exists, or the path to the default version of the sound if not.
Parameters
| filename | The name of the sound file desired. |
Returns
A wxString containing the full path to the sound file.