" Channels: 2\n"
" Format: s16 or f32\n" );
}
-
- vg_success( "Ready\n" );
}
VG_STATIC void vg_audio_free(void)
if( (ch->source->flags & AUDIO_FLAG_FORMAT) == k_audio_format_bird )
strcpy( ch->name, "[array]" );
else
- strncpy( ch->name, clip->path, 31 );
+ vg_strncpy( clip->path, ch->name, 32, k_strncpy_always_add_null );
ch->allocated = 1;
* -----------------------------------------------------------------------
*/
+#if 0
float budget = ((double)vg_audio.samples_last / 44100.0) * 1000.0;
vg_profile_drawn( (struct vg_profile *[]){ &vg_prof_audio_decode,
&vg_prof_audio_mix,
}
}
}
+#endif
audio_unlock();
}