decoder_api: pass const pointer to decoder_data()
This commit is contained in:
@@ -187,7 +187,7 @@ update_stream_tag(struct decoder *decoder, struct input_stream *is)
|
|||||||
enum decoder_command
|
enum decoder_command
|
||||||
decoder_data(struct decoder *decoder,
|
decoder_data(struct decoder *decoder,
|
||||||
struct input_stream *is,
|
struct input_stream *is,
|
||||||
void *_data, size_t length,
|
const void *_data, size_t length,
|
||||||
float data_time, uint16_t bitRate,
|
float data_time, uint16_t bitRate,
|
||||||
struct replay_gain_info *replay_gain_info)
|
struct replay_gain_info *replay_gain_info)
|
||||||
{
|
{
|
||||||
|
@@ -148,7 +148,8 @@ size_t decoder_read(struct decoder *decoder,
|
|||||||
enum decoder_command
|
enum decoder_command
|
||||||
decoder_data(struct decoder *decoder,
|
decoder_data(struct decoder *decoder,
|
||||||
struct input_stream *inStream,
|
struct input_stream *inStream,
|
||||||
void *data, size_t datalen, float data_time, uint16_t bitRate,
|
const void *data, size_t datalen,
|
||||||
|
float data_time, uint16_t bitRate,
|
||||||
struct replay_gain_info *replay_gain_info);
|
struct replay_gain_info *replay_gain_info);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user