summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2018-10-28 02:17:36 +0000
committerfrosch <github@elsenhans.name>2018-10-31 12:35:54 +0100
commitf5b1115039e41d7f75f91e7355003f10dd01b352 (patch)
treec777655761bcdca584fe0ff5c2f0e87fc2ef14e8 /src/music
parentb9273cbe07aa47daa8a9d2411062dfd7fead27de (diff)
downloadopenttd-f5b1115039e41d7f75f91e7355003f10dd01b352.tar.xz
Doc: Lots and lots of doxymentation fixes
Diffstat (limited to 'src/music')
-rw-r--r--src/music/midifile.cpp4
-rw-r--r--src/music/music_driver.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/music/midifile.cpp b/src/music/midifile.cpp
index a2455358f..91f83c529 100644
--- a/src/music/midifile.cpp
+++ b/src/music/midifile.cpp
@@ -520,8 +520,8 @@ struct MpsMachine {
/**
* Construct a TTD DOS music format decoder.
- * @param songdata Buffer of song data from CAT file, ownership remains with caller
- * @param songdatalen Length of the data buffer in bytes
+ * @param data Buffer of song data from CAT file, ownership remains with caller
+ * @param length Length of the data buffer in bytes
* @param target MidiFile object to add decoded data to
*/
MpsMachine(const byte *data, size_t length, MidiFile &target)
diff --git a/src/music/music_driver.hpp b/src/music/music_driver.hpp
index 10a99d275..f4d3d7dd3 100644
--- a/src/music/music_driver.hpp
+++ b/src/music/music_driver.hpp
@@ -21,7 +21,7 @@ class MusicDriver : public Driver {
public:
/**
* Play a particular song.
- * @param filename The name of file with the song to play.
+ * @param song The information for the song to play.
*/
virtual void PlaySong(const MusicSongInfo &song) = 0;