Changeset 4493:e5e48378a3f3 in roaraudio


Ignore:
Timestamp:
10/12/10 04:56:21 (8 years ago)
Author:
phi
Branch:
default
Message:

some basic jack infrastrcuture

Location:
roard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_jack.c

    r4492 r4493  
    5757 inst->inst     = self; 
    5858 
     59 if ( (self->client = jack_client_new("roard")) == NULL ) { 
     60  roar_mm_free(self); 
     61  return -1; 
     62 } 
     63 
    5964 // return -1 on error or 0 on no error. 
    60  return -1; 
     65 return 0; 
    6166} 
    6267 
     
    160165 // close and free everything in here... 
    161166 
     167 jack_client_close(self->client); 
     168 
    162169 roar_mm_free(self); 
    163170 
  • roard/include/driver_jack.h

    r4492 r4493  
    2929struct driver_jack { 
    3030 jack_client_t * client; 
     31 jack_port_t   * port_out; 
    3132}; 
    3233 
Note: See TracChangeset for help on using the changeset viewer.