+ data->t += (f32)(count)/44100.0f;
+};
+
+static audio_clip air_synth = {
+ .flags = k_audio_format_gen,
+ .size = 0,
+ .func = audio_air_synth_get_samples,
+ .data = &air_data
+};
+
+static void audio_init(void)
+{
+ audio_clip_loadn( audio_board, vg_list_size(audio_board), NULL );
+ audio_clip_loadn( audio_taps, vg_list_size(audio_taps), NULL );
+ audio_clip_loadn( audio_flips, vg_list_size(audio_flips), NULL );
+ audio_clip_loadn( audio_hits, vg_list_size(audio_hits), NULL );
+ audio_clip_loadn( audio_ambience, vg_list_size(audio_ambience), NULL );
+ audio_clip_loadn( &audio_splash, 1, NULL );
+ audio_clip_loadn( &audio_gate_pass, 1, NULL );
+ audio_clip_loadn( &audio_gate_lap, 1, NULL );
+ audio_clip_loadn( &audio_gate_ambient, 1, NULL );
+
+ audio_clip_loadn( audio_jumps, vg_list_size(audio_jumps), NULL );
+ audio_clip_loadn( audio_lands, vg_list_size(audio_lands), NULL );
+ audio_clip_loadn( audio_water, vg_list_size(audio_water), NULL );
+ audio_clip_loadn( audio_grass, vg_list_size(audio_grass), NULL );
+ audio_clip_loadn( audio_footsteps, vg_list_size(audio_footsteps), NULL );
+ audio_clip_loadn( audio_footsteps_grass,
+ vg_list_size(audio_footsteps_grass), NULL );
+ audio_clip_loadn( audio_footsteps_wood,
+ vg_list_size(audio_footsteps_wood), NULL );
+ audio_clip_loadn( audio_rewind, vg_list_size(audio_rewind), NULL );
+ audio_clip_loadn( audio_ui, vg_list_size(audio_ui), NULL );
+ audio_clip_loadn( audio_challenge, vg_list_size(audio_challenge), NULL );
+
+ audio_lock();
+ audio_set_lfo_wave( 0, k_lfo_polynomial_bipolar, 80.0f );
+ audio_set_lfo_frequency( 0, 20.0f );
+
+ skaterift.aud_air = audio_get_first_idle_channel();
+ if( skaterift.aud_air )
+ audio_channel_init( skaterift.aud_air, &air_synth, 0 );
+
+ audio_unlock();
+}
+
+static void audio_free(void)
+{
+ /* TODO! */
+ vg_warn( "UNIMPLEMENTED: audio_free()\n" );