[Slim-Checkins] r9375 -
/branches/6.5/server/Slim/Player/Squeezebox.pm
andy at svn.slimdevices.com
andy at svn.slimdevices.com
Sun Sep 3 06:03:15 PDT 2006
Author: andy
Date: Sun Sep 3 06:03:13 2006
New Revision: 9375
URL: http://svn.slimdevices.com?rev=9375&view=rev
Log:
Set pcmsamplerate to default to 1 for all WMA files
Modified:
branches/6.5/server/Slim/Player/Squeezebox.pm
Modified: branches/6.5/server/Slim/Player/Squeezebox.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Player/Squeezebox.pm?rev=9375&r1=9374&r2=9375&view=diff
==============================================================================
--- branches/6.5/server/Slim/Player/Squeezebox.pm (original)
+++ branches/6.5/server/Slim/Player/Squeezebox.pm Sun Sep 3 06:03:13 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