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); \
|
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); \
|
||||||
} \
|
} \
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user