aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/softsynth/mt32.cpp3
-rw-r--r--sound/softsynth/mt32/mt32_file.cpp4
-rw-r--r--sound/softsynth/mt32/mt32_file.h2
3 files changed, 0 insertions, 9 deletions
diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp
index 360ef4539d..a52401bef1 100644
--- a/sound/softsynth/mt32.cpp
+++ b/sound/softsynth/mt32.cpp
@@ -96,9 +96,6 @@ public:
size_t read(void *in, size_t size) {
return _in.read(in, size);
}
- bool readLine(char *in, size_t size) {
- return _in.readLine(in, size) != NULL;
- }
bool readBit8u(MT32Emu::Bit8u *in) {
byte b = _in.readByte();
if (_in.eof())
diff --git a/sound/softsynth/mt32/mt32_file.cpp b/sound/softsynth/mt32/mt32_file.cpp
index 86cb29fd49..f4eba73d33 100644
--- a/sound/softsynth/mt32/mt32_file.cpp
+++ b/sound/softsynth/mt32/mt32_file.cpp
@@ -44,10 +44,6 @@ namespace MT32Emu {
return fread(in, 1, size, fp);
}
- bool ANSIFile::readLine(char *in, size_t size) {
- return fgets(in, (int)size, fp) != NULL;
- }
-
bool ANSIFile::readBit8u(Bit8u *in) {
int c = fgetc(fp);
if (c == EOF)
diff --git a/sound/softsynth/mt32/mt32_file.h b/sound/softsynth/mt32/mt32_file.h
index 5f05c9e9ae..27c8ccbe46 100644
--- a/sound/softsynth/mt32/mt32_file.h
+++ b/sound/softsynth/mt32/mt32_file.h
@@ -35,7 +35,6 @@ public:
virtual ~File() {}
virtual void close() = 0;
virtual size_t read(void *in, size_t size) = 0;
- virtual bool readLine(char *in, size_t size) = 0;
virtual bool readBit8u(Bit8u *in) = 0;
virtual bool readBit16u(Bit16u *in);
virtual bool readBit32u(Bit32u *in);
@@ -55,7 +54,6 @@ public:
bool open(const char *filename, OpenMode mode);
void close();
size_t read(void *in, size_t size);
- bool readLine(char *in, size_t size);
bool readBit8u(Bit8u *in);
size_t write(const void *out, size_t size);
bool writeBit8u(Bit8u out);