Mercurial > mplayer.hg
comparison libaf/af_dummy.c @ 14816:ca769ef8645e
better infoline
author | alex |
---|---|
date | Fri, 25 Feb 2005 10:43:31 +0000 |
parents | e8832e66babd |
children | fd6f824ef894 |
comparison
equal
deleted
inserted
replaced
14815:56fb33e23ad4 | 14816:ca769ef8645e |
---|---|
10 static int control(struct af_instance_s* af, int cmd, void* arg) | 10 static int control(struct af_instance_s* af, int cmd, void* arg) |
11 { | 11 { |
12 switch(cmd){ | 12 switch(cmd){ |
13 case AF_CONTROL_REINIT: | 13 case AF_CONTROL_REINIT: |
14 memcpy(af->data,(af_data_t*)arg,sizeof(af_data_t)); | 14 memcpy(af->data,(af_data_t*)arg,sizeof(af_data_t)); |
15 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); | 15 af_msg(AF_MSG_VERBOSE,"[dummy] Was reinitialized: %iHz/%ich/%s\n", |
16 af->data->rate,af->data->nch,af_fmt2str_short(af->data->format)); | |
16 return AF_OK; | 17 return AF_OK; |
17 } | 18 } |
18 return AF_UNKNOWN; | 19 return AF_UNKNOWN; |
19 } | 20 } |
20 | 21 |