Make love.sound.newDecoder accept FileData, and make File->read return FileData

This commit is contained in:
Bart van Strien
2012-10-14 17:19:40 +02:00
parent e6711b2837
commit 33d7115887
7 changed files with 26 additions and 15 deletions
+2 -2
View File
@@ -74,11 +74,11 @@ public:
* @param sampleRate Samples per second, or quality of the audio. 44100 is a good value.
* @return A Decoder object on success, or zero if no decoder could be found.
**/
virtual Decoder *newDecoder(filesystem::File *file, int bufferSize) = 0;
virtual Decoder *newDecoder(filesystem::FileData *file, int bufferSize) = 0;
}; // Sound
} // sound
} // love
#endif // LOVE_SOUND_SOUND_H
#endif // LOVE_SOUND_SOUND_H