Index: audiofield.module
===================================================================
--- audiofield.module	(revision 35)
+++ audiofield.module	(working copy)
@@ -322,11 +322,16 @@
 }
 
 if (module_exists('flowplayer')) {
-
-function audiofield_flowplayer($player_path, $audio_file) {
-  return theme('flowplayer', $audio_file, 'audiofield', array( 'style' => 'height: 24px', ));
-}
+  function audiofield_flowplayer($player_path, $audio_file) {
+    $variables = array(
+      'config' => $audio_file,
+      'id' => 'audiofield',
+      'attributes' => array('style' => 'height: 24px',),
+    );
+    return theme('flowplayer', $variables);
+  }
 }
+
 /**
  * Implements hook_form_FORM_ID_alter().
  */

