Changeset 2273:6793c3df45af in roaraudio for roard
- Timestamp:
- 08/04/09 13:09:15 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/sources.h
r2270 r2273 52 52 int sources_add (char * driver, char * device, char * container, char * options, int primary); 53 53 54 int sources_add_new (struct roar_source * source, 55 char * driver, char * device, 56 char * container, 57 char * options, int primary); 58 54 59 int sources_add_raw (char * driver, char * device, char * container, char * options, int primary); 55 60 int sources_add_wav (char * driver, char * device, char * container, char * options, int primary); -
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.