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
f7e97c9a
Commit
f7e97c9a
authored
Apr 12, 2008
by
Max Kellermann
Committed by
Eric Wong
Apr 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constant pointers
There were some const pointers missing in the previous const-cleanup patch. git-svn-id:
https://svn.musicpd.org/mpd/trunk@7290
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
05c41a80
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
aac_plugin.c
src/inputPlugins/aac_plugin.c
+2
-2
mp4_plugin.c
src/inputPlugins/mp4_plugin.c
+2
-2
pcm_utils.c
src/pcm_utils.c
+5
-5
No files found.
src/inputPlugins/aac_plugin.c
View file @
f7e97c9a
...
...
@@ -444,8 +444,8 @@ static MpdTag *aacTagDup(char *file)
return
ret
;
}
static
char
*
aac_suffixes
[]
=
{
"aac"
,
NULL
};
static
char
*
aac_mimeTypes
[]
=
{
"audio/aac"
,
"audio/aacp"
,
NULL
};
static
c
onst
c
har
*
aac_suffixes
[]
=
{
"aac"
,
NULL
};
static
c
onst
c
har
*
aac_mimeTypes
[]
=
{
"audio/aac"
,
"audio/aacp"
,
NULL
};
InputPlugin
aacPlugin
=
{
"aac"
,
...
...
src/inputPlugins/mp4_plugin.c
View file @
f7e97c9a
...
...
@@ -414,8 +414,8 @@ static MpdTag *mp4TagDup(char *file)
return
ret
;
}
static
char
*
mp4_suffixes
[]
=
{
"m4a"
,
"mp4"
,
NULL
};
static
char
*
mp4_mimeTypes
[]
=
{
"audio/mp4"
,
"audio/m4a"
,
NULL
};
static
c
onst
c
har
*
mp4_suffixes
[]
=
{
"m4a"
,
"mp4"
,
NULL
};
static
c
onst
c
har
*
mp4_mimeTypes
[]
=
{
"audio/mp4"
,
"audio/m4a"
,
NULL
};
InputPlugin
mp4Plugin
=
{
"mp4"
,
...
...
src/pcm_utils.c
View file @
f7e97c9a
...
...
@@ -182,7 +182,7 @@ out:
#ifdef HAVE_LIBSAMPLERATE
static
size_t
pcm_convertSampleRate
(
mpd_sint8
channels
,
mpd_uint32
inSampleRate
,
char
*
inBuffer
,
size_t
inSize
,
c
onst
c
har
*
inBuffer
,
size_t
inSize
,
mpd_uint32
outSampleRate
,
char
*
outBuffer
,
size_t
outSize
,
ConvState
*
convState
)
{
...
...
@@ -297,7 +297,7 @@ static size_t pcm_convertSampleRate(mpd_sint8 channels, mpd_uint32 inSampleRate,
}
#endif
/* !HAVE_LIBSAMPLERATE */
static
char
*
pcm_convertChannels
(
mpd_sint8
channels
,
char
*
inBuffer
,
static
char
*
pcm_convertChannels
(
mpd_sint8
channels
,
c
onst
c
har
*
inBuffer
,
size_t
inSize
,
size_t
*
outSize
)
{
static
char
*
buf
;
...
...
@@ -351,8 +351,8 @@ static char *pcm_convertChannels(mpd_sint8 channels, char *inBuffer,
return
outBuffer
;
}
static
char
*
pcm_convertTo16bit
(
mpd_sint8
bits
,
const
char
*
inBuffer
,
size_t
inSize
,
size_t
*
outSize
)
static
c
onst
c
har
*
pcm_convertTo16bit
(
mpd_sint8
bits
,
const
char
*
inBuffer
,
size_t
inSize
,
size_t
*
outSize
)
{
static
char
*
buf
;
static
size_t
len
;
...
...
@@ -393,7 +393,7 @@ size_t pcm_convertAudioFormat(AudioFormat * inFormat, const char *inBuffer,
size_t
inSize
,
AudioFormat
*
outFormat
,
char
*
outBuffer
,
ConvState
*
convState
)
{
char
*
buf
;
c
onst
c
har
*
buf
;
size_t
len
;
size_t
outSize
=
pcm_sizeOfConvBuffer
(
inFormat
,
inSize
,
outFormat
);
...
...
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