Changeset 2471:578cfae60a3c in roaraudio for roard/ssynth.c
- Timestamp:
- 08/22/09 03:41:39 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/ssynth.c
r2470 r2471 146 146 continue; 147 147 148 if ( ssynth_note_render(i, indbufs[curin]) == -1 ) 149 continue; 150 148 151 curin++; 149 152 } … … 239 242 } 240 243 244 int ssynth_note_render (int id, void * data) { 245 if ( g_sa->bits != 16 ) 246 return -1; 247 248 return roar_synth_pcmout_i161(&(g_ssynth.notes[id].synth), data, ROAR_OUTPUT_BUFFER_SAMPLES); 249 } 250 241 251 int ssynth_note_on (struct roar_note_octave * note, char vv) { 242 252 return ssynth_note_new(note, vv);
Note: See TracChangeset
for help on using the changeset viewer.