pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48323: audio/xmp: playback rate up to 96000



>Number:         48323
>Category:       pkg
>Synopsis:       audio/xmp: playback rate up to 96000
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 18 19:45:01 +0000 2013
>Originator:     Dennis Lindroos
>Release:        pkgsrc-2013Q3
>Organization:
>Environment:
>Description:
Raise Xmp playback rate limit from 48000 to 96000 kHz, particularily useful on 
hdaudio(4) platforms. Maybe the limit should be set even higher, like 192000 or 
just to allow the user to experiment..?

The fix includes "patch-src_main_options_c"

Thanks in advance,
Dennis

>How-To-Repeat:

>Fix:
$NetBSD$

--- src/main/options.c.orig     2010-05-13 15:48:41.000000000 +0300
+++ src/main/options.c  2011-09-22 19:47:58.000000000 +0300
@@ -428,6 +428,6 @@
     /* Set limits */
     if (opt->freq < 1000)
        opt->freq = 1000;       /* Min. rate 1 kHz */
-    if (opt->freq > 48000)
-       opt->freq = 48000;      /* Max. rate 48 kHz */
+    if (opt->freq > 96000)
+       opt->freq = 96000;      /* Max. rate 96 kHz */
 }



Home | Main Index | Thread Index | Old Index