version 1.9, 2009/09/27 11:51:20 |
version 1.10, 2010/01/10 21:47:41 |
|
|
*/ |
*/ |
|
|
#include "aparams.h" |
#include "aparams.h" |
|
#ifdef DEBUG |
|
#include "dbg.h" |
|
#endif |
|
|
int aparams_ctltovol[128] = { |
int aparams_ctltovol[128] = { |
0, |
0, |
|
|
par->rate = rate; |
par->rate = rate; |
} |
} |
|
|
|
#ifdef DEBUG |
|
/* |
|
* Print the format/channels/encoding on stderr. |
|
*/ |
|
void |
|
aparams_dbg(struct aparams *par) |
|
{ |
|
char enc[ENCMAX]; |
|
|
|
aparams_enctostr(par, enc); |
|
dbg_puts(enc); |
|
dbg_puts(","); |
|
dbg_putu(par->cmin); |
|
dbg_puts(":"); |
|
dbg_putu(par->cmax); |
|
dbg_puts(","); |
|
dbg_putu(par->rate); |
|
} |
|
#endif |
|
|
/* |
/* |
* Return true if both encodings are the same. |
* Return true if both encodings are the same. |