summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-03-12 15:46:49 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-03-12 15:46:49 +0100
commitc7690562ee0963e6cd3af973e34c388347e24190 (patch)
treed54dced2dd2259d2f710ea6992d1d4f8922090eb
parent29f877b0c56b063125822c3f51700643bc9131ca (diff)
downloadpianobar-windows-c7690562ee0963e6cd3af973e34c388347e24190.tar.gz
pianobar-windows-c7690562ee0963e6cd3af973e34c388347e24190.tar.bz2
pianobar-windows-c7690562ee0963e6cd3af973e34c388347e24190.zip
Removed PACKAGE from ui strings
-rw-r--r--src/player.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/player.c b/src/player.c
index 3a21e74..af7ed22 100644
--- a/src/player.c
+++ b/src/player.c
@@ -87,7 +87,7 @@ static inline int BarPlayerBufferFill (struct audioPlayer *player, char *data,
size_t dataSize) {
/* fill buffer */
if (player->bufferFilled + dataSize > sizeof (player->buffer)) {
- BarUiMsg (MSG_ERR, PACKAGE ": Buffer overflow!\n");
+ BarUiMsg (MSG_ERR, "Buffer overflow!\n");
return 0;
}
memcpy (player->buffer+player->bufferFilled, data, dataSize);
@@ -139,7 +139,7 @@ static char BarPlayerAACCb (void *ptr, size_t size, void *stream) {
player->buffer + player->bufferRead,
player->sampleSize[player->sampleSizeCurr]);
if (frameInfo.error != 0) {
- BarUiMsg (MSG_ERR, PACKAGE ": Decoding error: %s\n",
+ BarUiMsg (MSG_ERR, "Decoding error: %s\n",
NeAACDecGetErrorMessage (frameInfo.error));
break;
}
@@ -188,7 +188,7 @@ static char BarPlayerAACCb (void *ptr, size_t size, void *stream) {
&player->channels);
player->bufferRead += 5;
if (err != 0) {
- BarUiMsg (MSG_ERR, PACKAGE ": Error while "
+ BarUiMsg (MSG_ERR, "Error while "
"initializing audio decoder"
"(%i)\n", err);
return 0;
@@ -327,7 +327,7 @@ static char BarPlayerMp3Cb (void *ptr, size_t size, void *stream) {
if (mad_frame_decode (&player->mp3Frame, &player->mp3Stream) != 0) {
if (player->mp3Stream.error != MAD_ERROR_BUFLEN) {
- BarUiMsg (MSG_ERR, PACKAGE ": mp3 decoding error: %s\n",
+ BarUiMsg (MSG_ERR, "mp3 decoding error: %s\n",
mad_stream_errorstr (&player->mp3Stream));
return 0;
} else {
@@ -442,7 +442,7 @@ void *BarPlayerThread (void *data) {
#endif /* ENABLE_MAD */
default:
- BarUiMsg (MSG_ERR, PACKAGE ": Unsupported audio format!\n");
+ BarUiMsg (MSG_ERR, "Unsupported audio format!\n");
return NULL;
break;
}