Changeset 3438:a40a55ea0254 in roaraudio


Ignore:
Timestamp:
02/13/10 13:46:17 (10 years ago)
Author:
phi
Branch:
default
Message:

add support to get api

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroarpulse/libroarpulse.h

    r3410 r3438  
    6060 
    6161struct roar_connection * roar_pa_context_get_con(pa_context * c); 
     62pa_mainloop_api * roar_pa_context_get_api(pa_context * c); 
    6263 
    6364pa_operation *roar_pa_operation_new(pa_operation_state_t initstate); 
  • libroarpulse/context.c

    r3411 r3438  
    185185} 
    186186 
     187pa_mainloop_api * roar_pa_context_get_api(pa_context * c) { 
     188 if ( c == NULL ) 
     189  return NULL; 
     190 
     191 return c->mainloop; 
     192} 
    187193 
    188194/** Set a callback function that is called whenever the context status changes */ 
Note: See TracChangeset for help on using the changeset viewer.