Spelling & Grammar

git-svn-id: https://svn.musicpd.org/mpd/trunk@4612 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich 2006-08-11 21:50:56 +00:00
parent 0cacc35943
commit ca7fdaa929
7 changed files with 9 additions and 9 deletions

View File

@ -59,7 +59,7 @@ void finishAudioOutputPlugins(void)
bp = getBlockParam(param, name); \ bp = getBlockParam(param, name); \
if(force && bp == NULL) { \ if(force && bp == NULL) { \
ERROR("couldn't find parameter \"%s\" in audio output " \ ERROR("couldn't find parameter \"%s\" in audio output " \
"definition begining at %i\n", \ "definition beginning at %i\n", \
name, param->line); \ name, param->line); \
exit(EXIT_FAILURE); \ exit(EXIT_FAILURE); \
} \ } \

View File

@ -245,7 +245,7 @@ static int osx_openDevice(AudioOutput * audioOutput)
if (AudioUnitInitialize(od->au) != 0) { if (AudioUnitInitialize(od->au) != 0) {
CloseComponent(od->au); CloseComponent(od->au);
ERROR("Unable to initialuze OS X audio unit\n"); ERROR("Unable to initialize OS X audio unit\n");
return -1; return -1;
} }
@ -257,7 +257,7 @@ static int osx_openDevice(AudioOutput * audioOutput)
&callback, sizeof(callback)) != 0) { &callback, sizeof(callback)) != 0) {
AudioUnitUninitialize(od->au); AudioUnitUninitialize(od->au);
CloseComponent(od->au); CloseComponent(od->au);
ERROR("unable to set callbak for OS X audio unit\n"); ERROR("unable to set callback for OS X audio unit\n");
return -1; return -1;
} }

View File

@ -423,7 +423,7 @@ static int initEncoder(ShoutData * sd)
sd->audioFormat->channels, sd->audioFormat->channels,
sd->audioFormat->sampleRate, sd->audioFormat->sampleRate,
sd->quality * 0.1)) { sd->quality * 0.1)) {
ERROR("problem seting up vorbis encoder for shout\n"); ERROR("problem setting up vorbis encoder for shout\n");
vorbis_info_clear(&(sd->vi)); vorbis_info_clear(&(sd->vi));
return -1; return -1;
} }
@ -432,7 +432,7 @@ static int initEncoder(ShoutData * sd)
sd->audioFormat->channels, sd->audioFormat->channels,
sd->audioFormat->sampleRate, -1.0, sd->audioFormat->sampleRate, -1.0,
sd->bitrate * 1000, -1.0)) { sd->bitrate * 1000, -1.0)) {
ERROR("problem seting up vorbis encoder for shout\n"); ERROR("problem setting up vorbis encoder for shout\n");
vorbis_info_clear(&(sd->vi)); vorbis_info_clear(&(sd->vi));
return -1; return -1;
} }

View File

@ -233,7 +233,7 @@ static ConfigParam *readConfigBlock(FILE * fp, int *count, char *string)
0 == strcmp(array[1], CONF_BLOCK_END)) { 0 == strcmp(array[1], CONF_BLOCK_END)) {
ERROR("improperly formatted config file at line %i:" ERROR("improperly formatted config file at line %i:"
" %s\n", *count, string); " %s\n", *count, string);
ERROR("in block begining at line %i\n", ret->line); ERROR("in block beginning at line %i\n", ret->line);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }

View File

@ -307,7 +307,7 @@ char *getPlayerErrorStr(void)
switch (pc->error) { switch (pc->error) {
case PLAYER_ERROR_FILENOTFOUND: case PLAYER_ERROR_FILENOTFOUND:
snprintf(error, errorlen, snprintf(error, errorlen,
"file \"%s\" does not exist or is inaccesible", "file \"%s\" does not exist or is inaccessible",
pc->erroredUrl); pc->erroredUrl);
break; break;
case PLAYER_ERROR_FILE: case PLAYER_ERROR_FILE:

View File

@ -414,7 +414,7 @@ MpdTag *apeDup(char *file)
if (readLEuint32(footer.version) != 2000) if (readLEuint32(footer.version) != 2000)
goto fail; goto fail;
/* find begining of ape tag */ /* find beginning of ape tag */
tagLen = readLEuint32(footer.length); tagLen = readLEuint32(footer.length);
if (tagLen < sizeof(footer)) if (tagLen < sizeof(footer))
goto fail; goto fail;

View File

@ -233,7 +233,7 @@ static int prepAlsaMixer(char *card)
if ((err = snd_mixer_attach(volume_alsaMixerHandle, card)) < 0) { if ((err = snd_mixer_attach(volume_alsaMixerHandle, card)) < 0) {
closeAlsaMixer(); closeAlsaMixer();
WARNING("problems problems attaching alsa mixer: %s\n", WARNING("problems attaching alsa mixer: %s\n",
snd_strerror(err)); snd_strerror(err));
return -1; return -1;
} }