Changeset 3402:47d22a58578e in roaraudio for libroarpulse


Ignore:
Timestamp:
02/11/10 15:58:38 (10 years ago)
Author:
phi
Branch:
default
Message:

return dummy operations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/context.c

    r3397 r3402  
    232232 
    233233 if ( c == NULL ) 
    234   return NULL; 
     234  return roar_pa_operation_new(PA_OPERATION_DONE); 
    235235 
    236236 if ( c->state == PA_CONTEXT_READY ) { 
     
    247247  cb(c, s, userdata); 
    248248 
    249  return NULL; 
     249 return roar_pa_operation_new(PA_OPERATION_DONE); 
    250250} 
    251251 
     
    258258  cb(c, 0, userdata); 
    259259 
    260  return NULL; 
     260 return roar_pa_operation_new(PA_OPERATION_DONE); 
    261261} 
    262262 
     
    269269  cb(c, 0, userdata); 
    270270 
    271  return NULL; 
     271 return roar_pa_operation_new(PA_OPERATION_DONE); 
    272272} 
    273273 
     
    287287pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata) { 
    288288 if ( c == NULL ) 
    289   return NULL; 
     289  return roar_pa_operation_new(PA_OPERATION_DONE); 
    290290 
    291291 if ( c->state != PA_CONTEXT_UNCONNECTED ) { 
     
    295295   cb(c, 0, userdata); 
    296296 
    297   return NULL; 
     297  return roar_pa_operation_new(PA_OPERATION_DONE); 
    298298 } 
    299299 
     
    305305 c->cb.set_name.userdata = userdata; 
    306306 
    307  return NULL; 
     307 return roar_pa_operation_new(PA_OPERATION_DONE); 
    308308} 
    309309 
Note: See TracChangeset for help on using the changeset viewer.