Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
6d3ed3f1
Commit
6d3ed3f1
authored
Mar 31, 2011
by
Jonathan Neuschäfer
Committed by
Max Kellermann
Mar 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix common misspellings
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0]
http://git.profusion.mobi/cgit.cgi/lucas/codespell/
parent
be798998
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
38 additions
and
38 deletions
+38
-38
user.xml
doc/user.xml
+1
-1
archive_plugin.h
src/archive_plugin.h
+1
-1
audio_parser.h
src/audio_parser.h
+1
-1
daemon.c
src/daemon.c
+1
-1
flac_encoder.c
src/encoder/flac_encoder.c
+1
-1
encoder_plugin.h
src/encoder_plugin.h
+5
-5
filter_plugin.h
src/filter_plugin.h
+4
-4
icy_server.c
src/icy_server.c
+1
-1
input_init.h
src/input_init.h
+1
-1
input_plugin.h
src/input_plugin.h
+1
-1
mixer_plugin.h
src/mixer_plugin.h
+4
-4
output_plugin.h
src/output_plugin.h
+4
-4
pcm_convert.h
src/pcm_convert.h
+1
-1
player_control.c
src/player_control.c
+1
-1
player_thread.c
src/player_thread.c
+1
-1
lastfm_playlist_plugin.c
src/playlist/lastfm_playlist_plugin.c
+1
-1
server_socket.h
src/server_socket.h
+3
-3
socket_util.h
src/socket_util.h
+2
-2
song_save.h
src/song_save.h
+1
-1
song_update.c
src/song_update.c
+1
-1
sticker.h
src/sticker.h
+1
-1
stored_playlist.h
src/stored_playlist.h
+1
-1
No files found.
doc/user.xml
View file @
6d3ed3f1
...
...
@@ -356,7 +356,7 @@ cd mpd-version</programlisting>
If set to "yes", then MPD attempts to keep this audio
output always open. This may be useful for streaming
servers, when you don't want to disconnect all
listeners even when playback is accidently stopped.
listeners even when playback is accident
al
ly stopped.
</entry>
</row>
<row>
...
...
src/archive_plugin.h
View file @
6d3ed3f1
...
...
@@ -68,7 +68,7 @@ struct archive_plugin {
* Opens an input_stream of a file within the archive.
*
* @param path the path within the archive
* @param error_r location to store the error occuring, or
* @param error_r location to store the error occur
r
ing, or
* NULL to ignore errors
*/
struct
input_stream
*
(
*
open_stream
)(
struct
archive_file
*
af
,
...
...
src/audio_parser.h
View file @
6d3ed3f1
...
...
@@ -38,7 +38,7 @@ struct audio_format;
* @param dest the destination #audio_format struct
* @param src the input string
* @param mask if true, then "*" is allowed for any number of items
* @param error_r location to store the error occuring, or NULL to
* @param error_r location to store the error occur
r
ing, or NULL to
* ignore errors
* @return true on success
*/
...
...
src/daemon.c
View file @
6d3ed3f1
...
...
@@ -80,7 +80,7 @@ daemonize_kill(void)
ret
=
kill
(
pid
,
SIGTERM
);
if
(
ret
<
0
)
MPD_ERROR
(
"unable to kill proc
c
ess %i: %s"
,
MPD_ERROR
(
"unable to kill process %i: %s"
,
pid
,
g_strerror
(
errno
));
exit
(
EXIT_SUCCESS
);
...
...
src/encoder/flac_encoder.c
View file @
6d3ed3f1
...
...
@@ -205,7 +205,7 @@ flac_encoder_open(struct encoder *_encoder, struct audio_format *audio_format,
pcm_buffer_init
(
&
encoder
->
buffer
);
pcm_buffer_init
(
&
encoder
->
expand_buffer
);
/* this immediatel
ly outputs data throught
callback */
/* this immediatel
y outputs data through
callback */
#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
{
...
...
src/encoder_plugin.h
View file @
6d3ed3f1
...
...
@@ -78,7 +78,7 @@ encoder_struct_init(struct encoder *encoder,
*
* @param plugin the encoder plugin
* @param param optional configuration
* @param error location to store the error occuring, or NULL to ignore errors.
* @param error location to store the error occur
r
ing, or NULL to ignore errors.
* @return an encoder object on success, NULL on failure
*/
static
inline
struct
encoder
*
...
...
@@ -107,7 +107,7 @@ encoder_finish(struct encoder *encoder)
* @param encoder the encoder
* @param audio_format the encoder's input audio format; the plugin
* may modify the struct to adapt it to its abilities
* @param error location to store the error occuring, or NULL to ignore errors.
* @param error location to store the error occur
r
ing, or NULL to ignore errors.
* @return true on success
*/
static
inline
bool
...
...
@@ -135,7 +135,7 @@ encoder_close(struct encoder *encoder)
* buffered available by encoder_read().
*
* @param encoder the encoder
* @param error location to store the error occuring, or NULL to ignore errors.
* @param error location to store the error occur
r
ing, or NULL to ignore errors.
* @return true on success
*/
static
inline
bool
...
...
@@ -152,7 +152,7 @@ encoder_flush(struct encoder *encoder, GError **error)
*
* @param encoder the encoder
* @param tag the tag object
* @param error location to store the error occuring, or NULL to ignore errors.
* @param error location to store the error occur
r
ing, or NULL to ignore errors.
* @return true on success
*/
static
inline
bool
...
...
@@ -170,7 +170,7 @@ encoder_tag(struct encoder *encoder, const struct tag *tag, GError **error)
* @param encoder the encoder
* @param data the buffer containing PCM samples
* @param length the length of the buffer in bytes
* @param error location to store the error occuring, or NULL to ignore errors.
* @param error location to store the error occur
r
ing, or NULL to ignore errors.
* @return true on success
*/
static
inline
bool
...
...
src/filter_plugin.h
View file @
6d3ed3f1
...
...
@@ -79,7 +79,7 @@ struct filter_plugin {
*
* @param plugin the filter plugin
* @param param optional configuration section
* @param error location to store the error occuring, or NULL to
* @param error location to store the error occur
r
ing, or NULL to
* ignore errors.
* @return a new filter object, or NULL on error
*/
...
...
@@ -92,7 +92,7 @@ filter_new(const struct filter_plugin *plugin,
* the specified configuration section.
*
* @param param the configuration section
* @param error location to store the error occuring, or NULL to
* @param error location to store the error occur
r
ing, or NULL to
* ignore errors.
* @return a new filter object, or NULL on error
*/
...
...
@@ -114,7 +114,7 @@ filter_free(struct filter *filter);
* @param filter the filter object
* @param audio_format the audio format of incoming data; the plugin
* may modify the object to enforce another input format
* @param error location to store the error occuring, or NULL to
* @param error location to store the error occur
r
ing, or NULL to
* ignore errors.
* @return the format of outgoing data
*/
...
...
@@ -137,7 +137,7 @@ filter_close(struct filter *filter);
* @param src the input buffer
* @param src_size the size of #src_buffer in bytes
* @param dest_size_r the size of the returned buffer
* @param error location to store the error occuring, or NULL to
* @param error location to store the error occur
r
ing, or NULL to
* ignore errors.
* @return the destination buffer on success (will be invalidated by
* filter_close() or filter_filter()), NULL on error
...
...
src/icy_server.c
View file @
6d3ed3f1
...
...
@@ -70,7 +70,7 @@ icy_server_metadata_string(const char *stream_title, const char* stream_url)
meta_length
=
strlen
(
icy_metadata
);
meta_length
--
;
// sub
s
tract placeholder
meta_length
--
;
// subtract placeholder
meta_length
=
((
int
)
meta_length
/
16
)
+
1
;
...
...
src/input_init.h
View file @
6d3ed3f1
...
...
@@ -28,7 +28,7 @@
/**
* Initializes this library and all input_stream implementations.
*
* @param error_r location to store the error occuring, or NULL to
* @param error_r location to store the error occur
r
ing, or NULL to
* ignore errors
*/
bool
...
...
src/input_plugin.h
View file @
6d3ed3f1
...
...
@@ -35,7 +35,7 @@ struct input_plugin {
/**
* Global initialization. This method is called when MPD starts.
*
* @param error_r location to store the error occuring, or
* @param error_r location to store the error occur
r
ing, or
* NULL to ignore errors
* @return true on success, false if the plugin should be
* disabled
...
...
src/mixer_plugin.h
View file @
6d3ed3f1
...
...
@@ -41,7 +41,7 @@ struct mixer_plugin {
* @param ao the pointer returned by audio_output_plugin.init
* @param param the configuration section, or NULL if there is
* no configuration
* @param error_r location to store the error occuring, or
* @param error_r location to store the error occur
r
ing, or
* NULL to ignore errors
* @return a mixer object, or NULL on error
*/
...
...
@@ -56,7 +56,7 @@ struct mixer_plugin {
/**
* Open mixer device
*
* @param error_r location to store the error occuring, or
* @param error_r location to store the error occur
r
ing, or
* NULL to ignore errors
* @return true on success, false on error
*/
...
...
@@ -70,7 +70,7 @@ struct mixer_plugin {
/**
* Reads the current volume.
*
* @param error_r location to store the error occuring, or
* @param error_r location to store the error occur
r
ing, or
* NULL to ignore errors
* @return the current volume (0..100 including) or -1 if
* unavailable or on error (error_r set, mixer will be closed)
...
...
@@ -80,7 +80,7 @@ struct mixer_plugin {
/**
* Sets the volume.
*
* @param error_r location to store the error occuring, or
* @param error_r location to store the error occur
r
ing, or
* NULL to ignore errors
* @param volume the new volume (0..100 including)
* @return true on success, false on error
...
...
src/output_plugin.h
View file @
6d3ed3f1
...
...
@@ -52,7 +52,7 @@ struct audio_output_plugin {
* none is configured
* @param param the configuration section, or NULL if there is
* no configuration
* @param error location to store the error occuring, or NULL
* @param error location to store the error occur
r
ing, or NULL
* to ignore errors
* @return NULL on error, or an opaque pointer to the plugin's
* data
...
...
@@ -72,7 +72,7 @@ struct audio_output_plugin {
* fail: if an error occurs during that, it should be reported
* by the open() method.
*
* @param error_r location to store the error occuring, or
* @param error_r location to store the error occur
r
ing, or
* NULL to ignore errors
* @return true on success, false on error
*/
...
...
@@ -89,7 +89,7 @@ struct audio_output_plugin {
*
* @param audio_format the audio format in which data is going
* to be delivered; may be modified by the plugin
* @param error location to store the error occuring, or NULL
* @param error location to store the error occur
r
ing, or NULL
* to ignore errors
*/
bool
(
*
open
)(
void
*
data
,
struct
audio_format
*
audio_format
,
...
...
@@ -119,7 +119,7 @@ struct audio_output_plugin {
/**
* Play a chunk of audio data.
*
* @param error location to store the error occuring, or NULL
* @param error location to store the error occur
r
ing, or NULL
* to ignore errors
* @return the number of bytes played, or 0 on error
*/
...
...
src/pcm_convert.h
View file @
6d3ed3f1
...
...
@@ -75,7 +75,7 @@ void pcm_convert_deinit(struct pcm_convert_state *state);
* @param src_size the size of #src in bytes
* @param dest_format the requested destination audio format
* @param dest_size_r returns the number of bytes of the destination buffer
* @param error_r location to store the error occuring, or NULL to
* @param error_r location to store the error occur
r
ing, or NULL to
* ignore errors
* @return the destination buffer, or NULL on error
*/
...
...
src/player_control.c
View file @
6d3ed3f1
...
...
@@ -281,7 +281,7 @@ pc_get_error_message(struct player_control *pc)
return
g_strdup
(
"problems opening audio device"
);
case
PLAYER_ERROR_SYSTEM
:
return
g_strdup
(
"system error occured"
);
return
g_strdup
(
"system error occur
r
ed"
);
case
PLAYER_ERROR_UNKTYPE
:
uri
=
pc_errored_song_uri
(
pc
);
...
...
src/player_thread.c
View file @
6d3ed3f1
...
...
@@ -112,7 +112,7 @@ struct player {
* output thread. This attribute is only used if
* audio_output_all_get_elapsed_time() didn't return a usable
* value; the output thread can estimate the elapsed time more
* precisly.
* precis
e
ly.
*/
float
elapsed_time
;
};
...
...
src/playlist/lastfm_playlist_plugin.c
View file @
6d3ed3f1
...
...
@@ -139,7 +139,7 @@ lastfm_get(const char *url)
* Ini-style value fetcher.
* @param response data through which to search.
* @param name name of value to search for.
* @return value for param name in param reponse or NULL on error. Free with g_free.
* @return value for param name in param re
s
ponse or NULL on error. Free with g_free.
*/
static
char
*
lastfm_find
(
const
char
*
response
,
const
char
*
name
)
...
...
src/server_socket.h
View file @
6d3ed3f1
...
...
@@ -47,7 +47,7 @@ server_socket_close(struct server_socket *ss);
* Add a listener on a port on all interfaces.
*
* @param port the TCP port
* @param error_r location to store the error occuring, or NULL to
* @param error_r location to store the error occur
r
ing, or NULL to
* ignore errors
* @return true on success
*/
...
...
@@ -61,7 +61,7 @@ server_socket_add_port(struct server_socket *ss, unsigned port,
*
* @param hostname the host name to be resolved
* @param port the TCP port
* @param error_r location to store the error occuring, or NULL to
* @param error_r location to store the error occur
r
ing, or NULL to
* ignore errors
* @return true on success
*/
...
...
@@ -73,7 +73,7 @@ server_socket_add_host(struct server_socket *ss, const char *hostname,
* Add a listener on a Unix domain socket.
*
* @param path the absolute socket path
* @param error_r location to store the error occuring, or NULL to
* @param error_r location to store the error occur
r
ing, or NULL to
* ignore errors
* @return true on success
*/
...
...
src/socket_util.h
View file @
6d3ed3f1
...
...
@@ -37,7 +37,7 @@ struct sockaddr;
*
* @param sa the sockaddr struct
* @param length the length of #sa in bytes
* @param error location to store the error occuring, or NULL to
* @param error location to store the error occur
r
ing, or NULL to
* ignore errors
*/
char
*
...
...
@@ -53,7 +53,7 @@ sockaddr_to_string(const struct sockaddr *sa, size_t length, GError **error);
* @param address the address to listen on
* @param address_length the size of #address
* @param backlog the backlog parameter for the listen() system call
* @param error location to store the error occuring, or NULL to
* @param error location to store the error occur
r
ing, or NULL to
* ignore errors
* @return the socket file descriptor or -1 on error
*/
...
...
src/song_save.h
View file @
6d3ed3f1
...
...
@@ -40,7 +40,7 @@ songvec_save(FILE *fp, const struct songvec *sv);
* Loads a song from the input file. Reading stops after the
* "song_end" line.
*
* @param error_r location to store the error occuring, or NULL to
* @param error_r location to store the error occur
r
ing, or NULL to
* ignore errors
* @return true on success, false on error
*/
...
...
src/song_update.c
View file @
6d3ed3f1
...
...
@@ -190,7 +190,7 @@ song_file_update_inarchive(struct song *song)
tag_free
(
song
->
tag
);
//accept every file that has music suffix
//because we don
t support tag reading throught
//because we don
't support tag reading through
//input streams
song
->
tag
=
tag_new
();
...
...
src/sticker.h
View file @
6d3ed3f1
...
...
@@ -51,7 +51,7 @@ struct sticker;
/**
* Opens the sticker database (if path is not NULL).
*
* @param error_r location to store the error occuring, or NULL to
* @param error_r location to store the error occur
r
ing, or NULL to
* ignore errors
* @return true on success, false on error
*/
...
...
src/stored_playlist.h
View file @
6d3ed3f1
...
...
@@ -51,7 +51,7 @@ spl_valid_name(const char *name_utf8);
/**
* Returns a list of stored_playlist_info struct pointers. Returns
* NULL if an error occured.
* NULL if an error occur
r
ed.
*/
GPtrArray
*
spl_list
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment