[Slim-Checkins] r9374 - /trunk/server/Slim/Player/Squeezebox.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Sun Sep 3 06:01:58 PDT 2006


Author: andy
Date: Sun Sep  3 06:01:56 2006
New Revision: 9374

URL: http://svn.slimdevices.com?rev=9374&view=rev
Log:
Set pcmsamplerate to default to 1 for all WMA files

Modified:
    trunk/server/Slim/Player/Squeezebox.pm

Modified: trunk/server/Slim/Player/Squeezebox.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Player/Squeezebox.pm?rev=9374&r1=9373&r2=9374&view=diff
==============================================================================
--- trunk/server/Slim/Player/Squeezebox.pm (original)
+++ trunk/server/Slim/Player/Squeezebox.pm Sun Sep  3 06:01:56 2006
@@ -752,7 +752,7 @@
 			else {
 				$pcmsamplesize = '0';
 			}
-			$pcmsamplerate = '?';
+			$pcmsamplerate = chr(1);
 			$pcmendian = '?';
 			$pcmchannels = '?';
 			$outputThreshold = 10;
@@ -823,8 +823,6 @@
 				if ( $format =~ /(?:wma|asx)/ ) {
 					# Bug 3981, For WMA streams, we send the streamid using the pcmsamplerate field
 					# so the firmware knows which stream to play
-					$pcmsamplerate = chr(1);
-					
 					if ( my ($streamNum) = $request_string =~ /ffff:(\d+):0/ ) {
 						$pcmsamplerate = chr($streamNum);
 					}



More information about the checkins mailing list