Changeset 401

Show
Ignore:
Timestamp:
07/16/06 07:31:31 (2 years ago)
Author:
erikd
Message:

libremix : Fix a bunch of compiler warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libremix/trunk/src/ctxdata/ctxdata.h

    r161 r401  
    4141#define MAX(a,b) ((a)>(b)?(a):(b)) 
    4242 
    43 typedef enum _CDScalarType CDScalarType; 
     43typedef int CDScalarType; 
    4444typedef union _CDScalar CDScalar; 
    4545typedef struct _CDSet CDSet; 
  • libremix/trunk/src/examples/cd_list_test.c

    r161 r401  
    4444  CDList * list, * list2; 
    4545  void * ctx; 
    46   int a=1, b=2, c=3, d=4, e=5, f=6, g=7, h=8, i=9, j=10, k=11, l=12
    47   int m=13, n=14, o=15, p=16, q=17, r=18, s=19, t=20, u=21, v=22, w=23; 
    48   int x=24, y=25, z=26; 
     46  int a=1, b=2, d=4, f=6, g=7, k=11
     47  int v=22, w=23; 
     48  int z=26; 
    4949 
    5050  ctx = NULL; 
  • libremix/trunk/src/libremix/remix_context.c

    r339 r401  
    146146  ctx->channels = REMIX_MONO; 
    147147 
    148   remix_plugin_initialise_defaults (env); 
     148  remix_plugin_defaults_initialise (env); 
    149149 
    150150  return env; 
  • libremix/trunk/src/libremix/remix_plugin.c

    r375 r401  
    121121 
    122122void 
    123 remix_plugin_initialise_defaults (RemixEnv * env) 
     123remix_plugin_defaults_initialise (RemixEnv * env) 
    124124{ 
    125125  CDList * plugins = cd_list_new (env); 
  • libremix/trunk/src/libremix/remix_private.h

    r337 r401  
    360360 
    361361/* remix_channelset */ 
    362 void remix_channelset_initialise_defaults (RemixEnv * env); 
     362void remix_channelset_defaults_initialise (RemixEnv * env); 
    363363void remix_channelset_defaults_destroy (RemixEnv * env); 
    364364 
  • libremix/trunk/src/tests/sndfiletest.c

    r318 r401  
    3232  CDSet * sf_parms; 
    3333  int sf_path_key; 
     34  CDScalar name; 
    3435 
    3536  INFO ("Attempting to read non existant file") ; 
     
    4243  sf_parms = cd_set_new (env); 
    4344  sf_path_key = remix_get_init_parameter_key (env, sf_plugin, "path"); 
    44   sf_parms = cd_set_insert (env, sf_parms, sf_path_key, 
    45                            CD_STRING("bad_file_name.wav")); 
     45  name.s_string = "bad_file_name.wav" ; 
     46  sf_parms = cd_set_insert (env, sf_parms, sf_path_key, name); 
    4647  if (sf_plugin == NULL) { 
    4748    FAIL ("Newly created sndfile plugin NULL");