Index: modules/audio/audio.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/audio.module,v
retrieving revision 1.51.2.10
diff -u -r1.51.2.10 audio.module
--- modules/audio/audio.module	13 Jul 2006 19:19:38 -0000	1.51.2.10
+++ modules/audio/audio.module	13 Jul 2006 19:36:43 -0000
@@ -332,9 +332,9 @@
       $ret['url_play'] = url('audio/play/'. $node->nid, NULL, NULL, TRUE);
       if ($ret['audio_fileinfo']['downloadable']) {
         // iTunes and other podcasting programs check the url to determine the
-        // file type. we'll add a fake file name on to the end that will be
-        // ignored later. see issue #35398 for more.
-        $url = 'audio/download/'. $node->nid .'/file.'. $ret['audio_fileinfo']['fileformat'];
+        // file type. we'll add the original file name on to the end. see issue
+        // #35398 for more info.
+        $url = 'audio/download/'. $node->nid .'/'. $file->origname;
         $ret['url_download'] = url($url , NULL, NULL, TRUE);
       }
     }

