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
b7d5652b
Commit
b7d5652b
authored
Oct 20, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcm_volume: "length" is a "size_t", not "int"
parent
725e48fc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
pcm_volume.c
src/pcm_volume.c
+1
-1
pcm_volume.h
src/pcm_volume.h
+1
-1
read_mixer.c
test/read_mixer.c
+1
-1
read_tags.c
test/read_tags.c
+1
-1
run_decoder.c
test/run_decoder.c
+1
-1
No files found.
src/pcm_volume.c
View file @
b7d5652b
...
@@ -138,7 +138,7 @@ pcm_volume_change_32(int32_t *buffer, unsigned num_samples, int volume)
...
@@ -138,7 +138,7 @@ pcm_volume_change_32(int32_t *buffer, unsigned num_samples, int volume)
}
}
bool
bool
pcm_volume
(
void
*
buffer
,
in
t
length
,
pcm_volume
(
void
*
buffer
,
size_
t
length
,
enum
sample_format
format
,
enum
sample_format
format
,
int
volume
)
int
volume
)
{
{
...
...
src/pcm_volume.h
View file @
b7d5652b
...
@@ -68,7 +68,7 @@ pcm_volume_dither(void)
...
@@ -68,7 +68,7 @@ pcm_volume_dither(void)
* @return true on success, false if the audio format is not supported
* @return true on success, false if the audio format is not supported
*/
*/
bool
bool
pcm_volume
(
void
*
buffer
,
in
t
length
,
pcm_volume
(
void
*
buffer
,
size_
t
length
,
enum
sample_format
format
,
enum
sample_format
format
,
int
volume
);
int
volume
);
...
...
test/read_mixer.c
View file @
b7d5652b
...
@@ -115,7 +115,7 @@ filter_plugin_by_name(G_GNUC_UNUSED const char *name)
...
@@ -115,7 +115,7 @@ filter_plugin_by_name(G_GNUC_UNUSED const char *name)
}
}
bool
bool
pcm_volume
(
G_GNUC_UNUSED
void
*
buffer
,
G_GNUC_UNUSED
in
t
length
,
pcm_volume
(
G_GNUC_UNUSED
void
*
buffer
,
G_GNUC_UNUSED
size_
t
length
,
G_GNUC_UNUSED
enum
sample_format
format
,
G_GNUC_UNUSED
enum
sample_format
format
,
G_GNUC_UNUSED
int
volume
)
G_GNUC_UNUSED
int
volume
)
{
{
...
...
test/read_tags.c
View file @
b7d5652b
...
@@ -52,7 +52,7 @@ idle_add(G_GNUC_UNUSED unsigned flags)
...
@@ -52,7 +52,7 @@ idle_add(G_GNUC_UNUSED unsigned flags)
* No-op dummy.
* No-op dummy.
*/
*/
bool
bool
pcm_volume
(
G_GNUC_UNUSED
void
*
buffer
,
G_GNUC_UNUSED
in
t
length
,
pcm_volume
(
G_GNUC_UNUSED
void
*
buffer
,
G_GNUC_UNUSED
size_
t
length
,
G_GNUC_UNUSED
enum
sample_format
format
,
G_GNUC_UNUSED
enum
sample_format
format
,
G_GNUC_UNUSED
int
volume
)
G_GNUC_UNUSED
int
volume
)
{
{
...
...
test/run_decoder.c
View file @
b7d5652b
...
@@ -56,7 +56,7 @@ idle_add(G_GNUC_UNUSED unsigned flags)
...
@@ -56,7 +56,7 @@ idle_add(G_GNUC_UNUSED unsigned flags)
* No-op dummy.
* No-op dummy.
*/
*/
bool
bool
pcm_volume
(
G_GNUC_UNUSED
void
*
buffer
,
G_GNUC_UNUSED
in
t
length
,
pcm_volume
(
G_GNUC_UNUSED
void
*
buffer
,
G_GNUC_UNUSED
size_
t
length
,
G_GNUC_UNUSED
enum
sample_format
format
,
G_GNUC_UNUSED
enum
sample_format
format
,
G_GNUC_UNUSED
int
volume
)
G_GNUC_UNUSED
int
volume
)
{
{
...
...
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