Bug 166

Summary: Reported default sample rate for JACK is incorrect
Product: LinuxSampler Reporter: Frank Neumann <beachnase>
Component: driversAssignee: Christian Schoenebeck <cuse>
Status: CLOSED FIXED    
Severity: minor    
Priority: P5    
Version: SVN Trunk   
Hardware: PC   
OS: Linux   

Description Frank Neumann 2012-01-06 19:38:32 CET
If I run LinuxSampler in "JACK mode" with jackd running at 48000Hz and do this:

franky@arwen:~/> echo "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO JACK
SAMPLERATE" | netcat localhost 8888
TYPE: INT
DESCRIPTION: Output sample rate
MANDATORY: false
FIX: true
MULTIPLICITY: false
DEFAULT: 44100
.

The "DEFAULT" line irritates me - is it supposed to report some built-in hardwired default, or the current sample rate of the underlying device driver? If the latter is true, I believe it should report 48000 in my case.
Comment 1 Christian Schoenebeck 2013-05-31 20:01:39 CEST
44100 is currently hard coded yes. The JACK driver in LinuxSampler currently uses the default implementation of the "SAMPLERATE" parameter, which is used if the respective sound driver does not implement this parameter on its own. So it is currently not aware of the sample rate with which jackd was started with.
Comment 2 Christian Schoenebeck 2014-01-26 18:51:30 CET
Fixed in svn r2512. Thanks!