Bug 166 - Reported default sample rate for JACK is incorrect
Summary: Reported default sample rate for JACK is incorrect
Status: CLOSED FIXED
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: drivers (show other bugs)
Version: SVN Trunk
Hardware: PC Linux
: P5 minor
Assignee: Christian Schoenebeck
URL:
Depends on:
Blocks:
 
Reported: 2012-01-06 19:38 CET by Frank Neumann
Modified: 2014-06-01 02:44 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!