Skip to contentSkip to conversation

: pcm.jack config in alsa-plugins/doc/README-jack

ALSA - plugins 0001949 [email protected] 1 participant 1 message Mar 23, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1949>
======================================================================
Reported By: Raymond
Assigned To:
======================================================================

Project:                    ALSA - plugins
Issue ID:                   1949
Category:                   PCM - jack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             03-21-2006 06:18 CET
Last Modified:              03-23-2006 16:48 CET

======================================================================
Summary: pcm.jack config in alsa-plugins/doc/README-jack
Description:
In alsa-plugins/doc/README-jack

   pcm.jack {
		type jack
		playback_ports {
			0 alsa_pcm:playback_1
			1 alsa_pcm:playback_1
		}
		capture_ports {
			0 alsa_pcm:capture_1
			1 alsa_pcm:pcapture_1
		}
	}

There are four entries in Writable clients in qjackctl (jack-0.100.0)

playback_1
playback_2
playback_3
playback_4

two entries in Readable clients

capture_1
capture_2

======================================================================

----------------------------------------------------------------------
Raymond - 03-23-06 15:20
----------------------------------------------------------------------
The reason of not hearing any sound from the front speakers of au8830 using alsa-plugin - jack is due to front and rear swap bug in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1726

It will also need the fix in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1766 for jackd to open the correct
capture channels of au8830

It seem that snd_pcm_hw_params_get_channels_max() return max_channels 10000 for "plug:jack"

----------------------------------------------------------------------
Raymond - 03-23-06 16:48
----------------------------------------------------------------------
If reducing the output channels to 1.

jackd -d alsa -o 1 -S

jackd 0.100.0

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|1|nomon|swmeter|-|16bit control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods nperiods = 2 for capture
nperiods = 2 for playback

It seem that aplay wait/hang instead of abort with error

aplay -v -Dplug:jack stereo.wav
Playing WAVE 'stereo.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
Its setup is:

  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 22050
  exact rate   : 22050 (22050/1)
  msbits       : 16
  buffer_size  : 11025
  period_size  : 2756
  period_time  : 125000
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 2756
  xfer_align   : 2756

start_threshold : 11024
stop_threshold : 11025
silence_threshold: 0
silence_size : 0
boundary : 722534400
Slave: Linear Integer <-> Linear Float conversion PCM (FLOAT_LE) Its setup is:

  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 6000
  xfer_align   : 6000

start_threshold : 24000
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 1572864000
Slave: ALSA <-> JACK PCM I/O Plugin
Its setup is:

  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : FLOAT_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 32
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 6000
  xfer_align   : 6000

start_threshold : 24000
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 1572864000
cannot connect alsa-jack.jackP.5653.0:out_001
to alsa_pcm:playback_2

Issue History
Date Modified Username Field Change
======================================================================

03-21-06 06:18 Raymond        New Issue                                    
03-21-06 07:42 Raymond        Note Added: 0008738                          
03-22-06 16:54 Raymond        Note Added: 0008863                          
03-22-06 17:02 Raymond        Note Edited: 0008863                         
03-22-06 18:47 tiwai          Note Added: 0008865                          
03-23-06 03:44 Raymond        Note Added: 0008878                          
03-23-06 05:51 Raymond        Note Edited: 0008878                         
03-23-06 15:17 Raymond        Note Added: 0008882                          
03-23-06 15:19 Raymond        Note Edited: 0008882                         
03-23-06 15:20 Raymond        Note Edited: 0008882                         
03-23-06 16:48 Raymond        Note Added: 0008889                          

======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642