mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Make love.sound.newDecoder accept FileData, and make File->read return FileData
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
const char *getName() const;
|
||||
|
||||
/// @copydoc love::sound::Sound::newDecoder
|
||||
sound::Decoder *newDecoder(love::filesystem::File *file, int bufferSize);
|
||||
sound::Decoder *newDecoder(love::filesystem::FileData *file, int bufferSize);
|
||||
|
||||
}; // Sound
|
||||
|
||||
@@ -67,4 +67,4 @@ public:
|
||||
} // sound
|
||||
} // love
|
||||
|
||||
#endif // LOVE_SOUND_LULLABY_SOUND_H
|
||||
#endif // LOVE_SOUND_LULLABY_SOUND_H
|
||||
|
||||
Reference in New Issue
Block a user