Changeset 5549:3b35cff9c436 in roaraudio


Ignore:
Timestamp:
06/17/12 23:26:49 (5 years ago)
Author:
phi
Branch:
default
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarsin.c

    r5533 r5549  
    9898 const char * server = NULL; 
    9999 int rate     = ROAR_RATE_DEFAULT; 
    100  int bits     = 16; 
    101  int channels = 1; /* mono */ 
    102  int codec    = ROAR_CODEC_DEFAULT; 
    103100 float freq   = 523.2;            /* middle C */ 
    104101 float t      = 0; /* current time */ 
     
    142139 step   = M_PI*2*freq/rate; 
    143140 
    144  if ( (vss = roar_vs_new_playback(server, "sine gen", rate, channels, codec, bits, &err)) == NULL ) { 
     141 if ( (vss = roar_vs_new_playback(server, "sine gen", rate, 1, ROAR_CODEC_DEFAULT, 16, &err)) == NULL ) { 
    145142  fprintf(stderr, "Error: can not open playback: %s\n", roar_vs_strerr(err)); 
    146143  exit(1); 
Note: See TracChangeset for help on using the changeset viewer.