diff options
Diffstat (limited to 'sound/audiostream.h')
-rw-r--r-- | sound/audiostream.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h index bd39c04c2b..bf31d5ae7c 100644 --- a/sound/audiostream.h +++ b/sound/audiostream.h @@ -81,12 +81,12 @@ public: * Tries to load a file by trying all available formats. * In case of an error, the file handle will be closed, but deleting * it is still the responsibilty of the caller. - * @param filename a filename without an extension - * @param fileHandle a pointer to an existing File instance + * @param filename a filename without an extension + * @param path an (optional) file path which is passed to File::open() * @return an Audiostream ready to use in case of success; * NULL in case of an error (e.g. invalid/nonexisting file) */ - static AudioStream* openStreamFile(const char* filename, const char* path=NULL); + static AudioStream* openStreamFile(const char *filename, const char *path = NULL); }; class AppendableAudioStream : public AudioStream { |