summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-20 19:21:08 (UTC)
committer llornkcor <llornkcor>2002-04-20 19:21:08 (UTC)
commit0169070eeca0ef41d33c4e8b2feee9c90f34f6ae (patch) (side-by-side diff)
tree638ccb275c98056b4a9ca9ec09d15b1a7636bb6c
parentb8bdd6ceaab890f8b35492a11e13bcdb101b1220 (diff)
downloadopie-0169070eeca0ef41d33c4e8b2feee9c90f34f6ae.zip
opie-0169070eeca0ef41d33c4e8b2feee9c90f34f6ae.tar.gz
opie-0169070eeca0ef41d33c4e8b2feee9c90f34f6ae.tar.bz2
MediaPlayer to OpiePlayer
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmad/libmadplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmadplugin.cpp b/core/multimedia/opieplayer/libmad/libmadplugin.cpp
index 0fcc230..7bb6541 100644
--- a/core/multimedia/opieplayer/libmad/libmadplugin.cpp
+++ b/core/multimedia/opieplayer/libmad/libmadplugin.cpp
@@ -96,49 +96,49 @@ static void *map_file(int fd, unsigned long *length)
fdm = mmap(0, *length, PROT_READ, MAP_SHARED, fd, 0);
if (fdm == MAP_FAILED)
return 0;
# if defined(HAVE_MADVISE)
madvise(fdm, *length, MADV_SEQUENTIAL);
# endif
return fdm;
}
static int unmap_file(void *fdm, unsigned long length)
{
if (munmap(fdm, length) == -1)
return -1;
return 0;
}
# endif
static inline QString tr( const char *str ) {
// Apparently this is okay from a plugin as it runs in the process space of the owner of the plugin
- return qApp->translate( "MediaPlayer", str, "libmad strings for mp3 file info" );
+ return qApp->translate( "OpiePlayer", str, "libmad strings for mp3 file info" );
}
class LibMadPluginData {
public:
Input input;
Output output;
int bad_last_frame;
struct mad_stream stream;
struct mad_frame frame;
struct mad_synth synth;
bool flush;
};
LibMadPlugin::LibMadPlugin() {
d = new LibMadPluginData;
d->input.fd = 0;
#if defined(HAVE_MMAP)
d->input.fdm = 0;
#endif
d->input.data = 0;
d->flush = TRUE;
info = tr( "No Song Open" );