Re: Playback problem arised with alsa-lib-1.0.14rc4 and ladspa plugin

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

 



Hello list members,

somehow the attachments of my previous email are not shown on SourceForge. 
That's why I am sending the four files inline again:

My configuration:
+++++ BEGIN FILE /etc/asound.conf +++++
pcm.upmix_20to51 {
    type plug
    slave.pcm lowpass_21to21
    slave.channels 3
    ttable {
	0.0	1	# left channel
	1.1	1	# right channel
	0.2	0.5	# mix left and right ...
	1.2	0.5	# ... channel for subwoofer
    }
}

pcm.lowpass_21to21 {
    type ladspa
    slave.pcm upmix_21to51
    path "/usr/lib/ladspa"
    channels 3
    plugins {
    	0 {
	    id 1098 # Identity (Audio) (1098/identity_audio)
	    policy duplicate
	    input.bindings.0 "Input";
	    output.bindings.0 "Output";
	}
	1 {
	    id 1672 # 4 Pole Low-Pass Filter with Resonance (FCRCIA) 
(1672/lp4pole_fcrcia_oa)
	    policy none
	    input.bindings.2 "Input";
	    output.bindings.2 "Output";
	    input {
		controls [ 300 0 ]
	    }
	}
    }
}

pcm.upmix_21to51 {
    type plug
    slave.pcm dmixer 
    slave.channels 6
    ttable {
	0.0	1	# front left
	1.1	1	# front right
	0.2	1	# rear left
	1.3	1	# rear right
	0.4	0.5	# center
	1.4	0.5	# center
	2.5	1	# subwoofer
    }
}

pcm.dmixer {
	type dmix
	ipc_key 1024
	slave {
	    pcm "hw:0,0"
	    period_time 0
	    period_size 1024
	    buffer_size 4096
	    rate 44100
	    channels 6
	}
	bindings {
	    0 0
	    1 1
	    2 2
	    3 3
	    4 4
	    5 5
	}
}
									     
ctl.dmixer {
	type hw
	card 0
}

--- END FILE /etc/asound.conf ---

Working with the following version:
+++++ BEGIN FILE playback_1.0.14rc3 +++++
aplay -v -D upmix_20to51 03\ -\ Cyclone\ -\ Vision\ Of\ Life.wav
Playing WAVE '03 - Cyclone - Vision Of Life.wav' : Signed 16 bit Little 
Endian, Rate 44100 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 1
    2 <- 0*0,5 + 1*0,5
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 4096
  period_size  : 1024
  period_time  : 23219
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 4096
  stop_threshold   : 4096
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Linear Integer <-> Linear Float conversion PCM (FLOAT_LE)
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 3
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 4096
  period_size  : 1024
  period_time  : 23219
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 4096
  stop_threshold   : 4096
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: LADSPA PCM
  Playback:
    Policy: duplicate
    Filename: /usr/lib/ladspa/cmt.so
    Plugin Name: Identity (Audio)
    Plugin Label: identity_audio
    Plugin Unique ID: 1098
    Instances:
      Depth: 0
         InChannels: 0
         InPorts: 0 "Input"
         OutChannels: 0
         OutPorts: 1 "Output"
      Depth: 0
         InChannels: 1
         InPorts: 0 "Input"
         OutChannels: 1
         OutPorts: 1 "Output"
      Depth: 0
         InChannels: 2
         InPorts: 0 "Input"
         OutChannels: 2
         OutPorts: 1 "Output"
    Audio input port bindings:
      0 -> 0
    Audio output port bindings:
      0 -> 1
    Policy: none
    Filename: /usr/lib/ladspa/lp4pole_1671.so
    Plugin Name: 4 Pole Low-Pass Filter with Resonance (FCRCIA)
    Plugin Label: lp4pole_fcrcia_oa
    Plugin Unique ID: 1672
    Instances:
      Depth: 1
         InChannels: 2
         InPorts: 2 "Input"
         OutChannels: 2
         OutPorts: 3 "Output"
    Audio input port bindings:
      0 -> NONE
      1 -> NONE
      2 -> 2
    Control input port initial values:
      0 "Cutoff Frequency" = 300,00000000
      1 "Resonanz" = 0,00000000
    Audio output port bindings:
      0 -> NONE
      1 -> NONE
      2 -> 3
  Capture:
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_NONINTERLEAVED
  format       : FLOAT_LE
  subformat    : STD
  channels     : 3
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 32
  buffer_size  : 4096
  period_size  : 1024
  period_time  : 23219
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 4096
  stop_threshold   : 4096
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Plug PCM: Linear Integer <-> Linear Float conversion PCM (S16_LE)
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_NONINTERLEAVED
  format       : FLOAT_LE
  subformat    : STD
  channels     : 3
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 32
  buffer_size  : 4096
  period_size  : 1024
  period_time  : 23219
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 4096
  stop_threshold   : 4096
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 1
    2 <- 0
    3 <- 1
    4 <- 0*0,5 + 1*0,5
    5 <- 2
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 3
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 4096
  period_size  : 1024
  period_time  : 23219
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 4096
  stop_threshold   : 4096
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 6
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 4096
  period_size  : 1024
  period_time  : 23219
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 4096
  stop_threshold   : 4096
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 0 'NVidia nForce2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 6
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 4096
  period_size  : 1024
  period_time  : 23219
  tick_time    : 3333
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 1
  stop_threshold   : 1073741824
  silence_threshold: 0
  silence_size : 1073741824
  boundary     : 1073741824
Aborted by signal Unterbrechung...
----- END FILE playback_1.0.14rc3 -----

Not working with the following two version:
+++++ BEGIN FILE playback_1.0.14rc4 +++++
aplay -v -D upmix_20to51 03\ -\ Cyclone\ -\ Vision\ Of\ Life.wav
Playing WAVE '03 - Cyclone - Vision Of Life.wav' : Signed 16 bit Little 
Endian, Rate 44100 Hz, Stereo
ALSA lib pcm_plug.c:746:(snd_pcm_plug_hw_refine_schange) Unable to find an 
usable slave format for 'upmix_21to51'
ALSA lib pcm_plug.c:750:(snd_pcm_plug_hw_refine_schange) Format: FLOAT_LE
ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format: S16_LE
ALSA lib pcm_plug.c:840:(snd_pcm_plug_hw_refine_cchange) Unable to find an 
usable client format
ALSA lib pcm_plug.c:844:(snd_pcm_plug_hw_refine_cchange) Format: FLOAT_LE
ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format: S16_LE
ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable
aplay: set_params:878: Broken configuration for this PCM: no configurations 
available
----- END FILE playback_1.0.14rc4 -----

+++++ BEGIN FILE playback_1.0.14a +++++
aplay -v -D upmix_20to51 03\ -\ Cyclone\ -\ Vision\ Of\ Life.wav
Playing WAVE '03 - Cyclone - Vision Of Life.wav' : Signed 16 bit Little 
Endian, Rate 44100 Hz, Stereo
ALSA lib pcm_plug.c:746:(snd_pcm_plug_hw_refine_schange) Unable to find an 
usable slave format for 'upmix_21to51'
ALSA lib pcm_plug.c:750:(snd_pcm_plug_hw_refine_schange) Format: FLOAT_LE
ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format: S16_LE
ALSA lib pcm_plug.c:840:(snd_pcm_plug_hw_refine_cchange) Unable to find an 
usable client format
ALSA lib pcm_plug.c:844:(snd_pcm_plug_hw_refine_cchange) Format: FLOAT_LE
ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format: S16_LE
ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable
aplay: set_params:878: Broken configuration for this PCM: no configurations 
available
----- END FILE playback_1.0.14a -----

Sorry for this very long mail; but as stated above attachments did not work.
Any hints are appreciated.

Regards,
Benjamin Eikel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux