[Jack-Devel] Why does jack change the sampling rate?

PrevNext  Index
DateMon, 25 Jun 2012 14:20:48 -0700
From Eric Renrut <[hidden] at gmail dot com>
To[hidden] at jackaudio dot org
Follow-UpPaul Davis Re: [Jack-Devel] Why does jack change the sampling rate?
Hi,

I am starting daemon with the following:

jackd -T-v -d alsa -d hw:0 -p 256 -r 8000 -S


Below I have added what jack is telling me. I see where it is telling me
that is configuring the card for a sample rate of 8000(configuring for
8000Hz, period = 256 frames (32.0 ms), buffer = 2 periods).  I see where it
changes it to 44100 as well.

I am starting qjacktl with the same parameters(or as close as I can get
it), and it is reporting the sampling rate to be 44100.


.
.
.
Jack: JackEngine::NotifyAddClient: name = system
Jack: JackGraphManager::SetBufferSize size = 256
Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackDriver::SetupDriverSync driver sem in flush mode
creating alsa driver ... hw:0|hw:0|256|2|8000|0|0|nomon|swmeter|-|16bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xf6dfc000 irq
21
configuring for 8000Hz, period = 256 frames (32.0 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
Jack: JackEngine::ClientInternalNew: name = freewheel
Jack: JackEngine::AllocateRefNum ref = 1
Jack: JackFifo::Allocate name = /dev/shm/jack_fifo.1000_default_freewheel
Jack: JackEngine::NotifyAddClient: name = freewheel
Jack: JackConnectionManager::DirectConnect first: ref1 = 1 ref2 = 1
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
Jack: JackDriver::SetupDriverSync driver sem in flush mode
Jack: JackGraphManager::SetBufferSize size = 256
Jack: JackAudioDriver::Attach fBufferSize 256 fSampleRate 44100
.
.
.

Thanks
PrevNext  Index

1340659259.19726_0.ltw:2,a <CAFoh_9Vn39mMt9_o+kWzqr2y4mDbyRwWmcVZbOsdmxhYMjR4pQ at mail dot gmail dot com>