Spelling & Grammar
git-svn-id: https://svn.musicpd.org/mpd/trunk@4612 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
0cacc35943
commit
ca7fdaa929
@ -59,7 +59,7 @@ void finishAudioOutputPlugins(void)
|
||||
bp = getBlockParam(param, name); \
|
||||
if(force && bp == NULL) { \
|
||||
ERROR("couldn't find parameter \"%s\" in audio output " \
|
||||
"definition begining at %i\n", \
|
||||
"definition beginning at %i\n", \
|
||||
name, param->line); \
|
||||
exit(EXIT_FAILURE); \
|
||||
} \
|
||||
|
@ -245,7 +245,7 @@ static int osx_openDevice(AudioOutput * audioOutput)
|
||||
|
||||
if (AudioUnitInitialize(od->au) != 0) {
|
||||
CloseComponent(od->au);
|
||||
ERROR("Unable to initialuze OS X audio unit\n");
|
||||
ERROR("Unable to initialize OS X audio unit\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -257,7 +257,7 @@ static int osx_openDevice(AudioOutput * audioOutput)
|
||||
&callback, sizeof(callback)) != 0) {
|
||||
AudioUnitUninitialize(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;
|
||||
}
|
||||
|
||||
|
@ -423,7 +423,7 @@ static int initEncoder(ShoutData * sd)
|
||||
sd->audioFormat->channels,
|
||||
sd->audioFormat->sampleRate,
|
||||
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));
|
||||
return -1;
|
||||
}
|
||||
@ -432,7 +432,7 @@ static int initEncoder(ShoutData * sd)
|
||||
sd->audioFormat->channels,
|
||||
sd->audioFormat->sampleRate, -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));
|
||||
return -1;
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ static ConfigParam *readConfigBlock(FILE * fp, int *count, char *string)
|
||||
0 == strcmp(array[1], CONF_BLOCK_END)) {
|
||||
ERROR("improperly formatted config file at line %i:"
|
||||
" %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);
|
||||
}
|
||||
|
||||
|
@ -307,7 +307,7 @@ char *getPlayerErrorStr(void)
|
||||
switch (pc->error) {
|
||||
case PLAYER_ERROR_FILENOTFOUND:
|
||||
snprintf(error, errorlen,
|
||||
"file \"%s\" does not exist or is inaccesible",
|
||||
"file \"%s\" does not exist or is inaccessible",
|
||||
pc->erroredUrl);
|
||||
break;
|
||||
case PLAYER_ERROR_FILE:
|
||||
|
@ -414,7 +414,7 @@ MpdTag *apeDup(char *file)
|
||||
if (readLEuint32(footer.version) != 2000)
|
||||
goto fail;
|
||||
|
||||
/* find begining of ape tag */
|
||||
/* find beginning of ape tag */
|
||||
tagLen = readLEuint32(footer.length);
|
||||
if (tagLen < sizeof(footer))
|
||||
goto fail;
|
||||
|
@ -233,7 +233,7 @@ static int prepAlsaMixer(char *card)
|
||||
|
||||
if ((err = snd_mixer_attach(volume_alsaMixerHandle, card)) < 0) {
|
||||
closeAlsaMixer();
|
||||
WARNING("problems problems attaching alsa mixer: %s\n",
|
||||
WARNING("problems attaching alsa mixer: %s\n",
|
||||
snd_strerror(err));
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user