Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
0b90ef31
Commit
0b90ef31
authored
May 10, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amem: i_nb_samples is unsigned, no need for size_t
parent
c9be4f7e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+1
-3
modules/audio_output/amem.c
modules/audio_output/amem.c
+1
-1
No files found.
include/vlc/libvlc_media_player.h
View file @
0b90ef31
...
...
@@ -31,8 +31,6 @@
#ifndef VLC_LIBVLC_MEDIA_PLAYER_H
#define VLC_LIBVLC_MEDIA_PLAYER_H 1
# include <stddef.h>
# ifdef __cplusplus
extern
"C"
{
# else
...
...
@@ -473,7 +471,7 @@ LIBVLC_API void *libvlc_media_player_get_hwnd ( libvlc_media_player_t *p_mi );
* \param pts expected play time stamp (see libvlc_delay())
*/
typedef
void
(
*
libvlc_audio_play_cb
)(
void
*
data
,
const
void
*
samples
,
size_t
count
,
int64_t
pts
);
unsigned
count
,
int64_t
pts
);
/**
* Callback prototype for audio volume change.
...
...
modules/audio_output/amem.c
View file @
0b90ef31
...
...
@@ -54,7 +54,7 @@ vlc_module_end ()
struct
aout_sys_t
{
void
*
opaque
;
void
(
*
play
)
(
void
*
opaque
,
const
void
*
data
,
size_t
count
,
int64_t
pts
);
void
(
*
play
)
(
void
*
opaque
,
const
void
*
data
,
unsigned
count
,
int64_t
pts
);
int
(
*
set_volume
)
(
void
*
opaque
,
float
vol
,
bool
mute
);
void
(
*
cleanup
)
(
void
*
opaque
);
};
...
...
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