Commit 0b90ef31 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

amem: i_nb_samples is unsigned, no need for size_t

parent c9be4f7e
......@@ -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.
......
......@@ -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);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment