Changeset 2273:6793c3df45af in roaraudio for roard/sources.c
- Timestamp:
- 08/04/09 13:09:15 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/sources.c
r2272 r2273 90 90 if ( !strcmp(g_source[i].name, driver) ) { 91 91 if ( g_source[i].new_open != NULL ) { 92 // TODO: add code to open driver here...92 return sources_add_new(&(g_source[i]), driver, device, container, options, primary); 93 93 } else if ( g_source[i].old_open != NULL ) { 94 94 return g_source[i].old_open(driver, device, container, options, primary); … … 101 101 102 102 ROAR_ERR("sources_add(driver='%s', ...): Source not found", driver); 103 return -1; 104 } 105 106 int sources_add_new (struct roar_source * source, 107 char * driver, char * device, 108 char * container, 109 char * options, int primary) { 103 110 return -1; 104 111 }
Note: See TracChangeset
for help on using the changeset viewer.