Index: audio.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/audio.module,v
retrieving revision 1.32.2.1
diff -u -r1.32.2.1 audio.module
--- audio.module	24 Jan 2006 22:41:19 -0000	1.32.2.1
+++ audio.module	26 Jan 2006 23:37:32 -0000
@@ -756,9 +756,13 @@
   $params->url = url('audio/play/'.$node->nid, NULL, NULL, TRUE);
   $params->title = $node->audio['title'];
 
+  // flash only supports playing MP3 with 44kHz sample rate
+  $flashable = ($node->audio['sample_rate'] == '44100');
+
   //if there is no theme function that provides a player of this file type, use the default.
   //The default just shows a bare link to the file...
-  if ($player = theme($node->audio['fileformat'] . '_player', $params)) {
+  $player = theme($node->audio['fileformat'] . '_player', $params);
+  if ($player && $flashable) {
     return $player;
   }
   else {

