[BACK]Return to aparams.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / aucat

Diff for /src/usr.bin/aucat/Attic/aparams.c between version 1.8 and 1.9

version 1.8, 2009/08/17 15:07:49 version 1.9, 2009/09/27 11:51:20
Line 15 
Line 15 
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   
 #include <stdio.h>  
 #include <stdlib.h>  
 #include <string.h>  
   
 #include "aparams.h"  #include "aparams.h"
   
 int aparams_ctltovol[128] = {  int aparams_ctltovol[128] = {
Line 185 
Line 181 
         par->rate = rate;          par->rate = rate;
 }  }
   
 /*  
  * Print the format/channels/encoding on stderr.  
  */  
 void  
 aparams_print(struct aparams *par)  
 {  
         char enc[ENCMAX];  
   
         aparams_enctostr(par, enc);  
         fprintf(stderr, "%s", enc);  
         fprintf(stderr, ",%u:%u", par->cmin, par->cmax);  
         fprintf(stderr, ",%uHz", par->rate);  
 }  
   
 void  
 aparams_print2(struct aparams *par1, struct aparams *par2)  
 {  
         aparams_print(par1);  
         fprintf(stderr, " -> ");  
         aparams_print(par2);  
 }  
   
 /*  /*
  * Return true if both encodings are the same.   * Return true if both encodings are the same.

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9