mirror of https://github.com/mpv-player/mpv
better infoline
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14817 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e3cfcb169f
commit
104f9e8872
|
@ -12,7 +12,8 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
|
||||||
switch(cmd){
|
switch(cmd){
|
||||||
case AF_CONTROL_REINIT:
|
case AF_CONTROL_REINIT:
|
||||||
memcpy(af->data,(af_data_t*)arg,sizeof(af_data_t));
|
memcpy(af->data,(af_data_t*)arg,sizeof(af_data_t));
|
||||||
af_msg(AF_MSG_VERBOSE,"[dummy] Was reinitialized, rate=%iHz, nch = %i, format = 0x%08X and bps = %i\n",af->data->rate,af->data->nch,af->data->format,af->data->bps);
|
af_msg(AF_MSG_VERBOSE,"[dummy] Was reinitialized: %iHz/%ich/%s\n",
|
||||||
|
af->data->rate,af->data->nch,af_fmt2str_short(af->data->format));
|
||||||
return AF_OK;
|
return AF_OK;
|
||||||
}
|
}
|
||||||
return AF_UNKNOWN;
|
return AF_UNKNOWN;
|
||||||
|
|
Loading…
Reference in New Issue