Changeset 44:0d81c0ab4490 in roaraudio
- Timestamp:
- 06/22/08 16:19:28 (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/sample.h
r42 r44 10 10 struct roar_sample * g_samples[ROAR_SAMPLES_MAX]; 11 11 12 int samples_init (void);12 int samples_init (void); 13 13 int samples_free (void); 14 14 int samples_new (void); -
roard/roard.c
r39 r44 144 144 145 145 if ( streams_init() == -1 ) { 146 ROAR_ERR("Can not nit streams!");146 ROAR_ERR("Can not init streams!"); 147 147 return 1; 148 148 } 149 150 if ( samples_init() == -1 ) { 151 ROAR_ERR("Can not init samples!"); 152 return 1; 153 } 154 149 155 150 156 signal(SIGINT, on_sig_int); -
roard/sample.c
r41 r44 3 3 #include "roard.h" 4 4 5 int samples_init (void) { 6 int i; 7 8 for (i = 0; i < ROAR_SAMPLES_MAX; i++) 9 g_samples[i] = NULL; 10 11 return 0; 12 } 13 14 15 int samples_free (void); 16 int samples_new (void); 17 int samples_delete (int id); 18 int samples_set_name (int id, char * name); 19 5 20 //ll
Note: See TracChangeset
for help on using the changeset viewer.