Changeset 3406:d7f39ce0ab78 in roaraudio for libroarpulse


Ignore:
Timestamp:
02/11/10 16:35:48 (10 years ago)
Author:
phi
Branch:
default
Message:

added roar_pa_context_get_con()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/context.c

    r3402 r3406  
    175175} 
    176176 
     177struct roar_connection * roar_pa_context_get_con(pa_context * c) { 
     178 if ( c == NULL ) 
     179  return NULL; 
     180 
     181 if ( c->state != PA_CONTEXT_READY ) 
     182  return NULL; 
     183 
     184 return &(c->con); 
     185} 
    177186 
    178187 
Note: See TracChangeset for help on using the changeset viewer.