mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Make love.sound.newDecoder accept FileData, and make File->read return FileData
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user