[ecasound] Removing jack audio-output and attaching wav audio-output fails

From: rocco <rocco556@email-addr-hidden>
Date: Mon Aug 19 2013 - 00:32:09 EEST

Hi,

I have the following session:

#### START 003.ecs
# general
-b:128 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr
-z:mixmode,sum

# audio inputs
-a:1 -i:1.wav
-a:2 -i:2.wav

# audio outputs
-a:1,2 -f:24,2,96000 -o:jack,system

# chain operators and controllers
-a:1 -chcopy:1,2 -epp:27 -ea:128
-a:2 -chcopy:1,2 -epp:71 -ea:149
#### END 003.ecs

bash> ecasound -c -s:003.ecs

ecasound ('h' for help)> ai-status
### Audio input/output status (chainsetup 'Main') ###
Input (1): "1.wav," - [DB => RIFF wave file]
  -> connected to chains "1": position (0.000/0.000) seconds.
  -> closed, audio format not available until object is opened.
Input (2): "2.wav," - [DB => RIFF wave file]
  -> connected to chains "2": position (0.000/0.000) seconds.
  -> closed, audio format not available until object is opened.
Output (1): "jack,system," - [JACK interface]
  -> connected to chains "1,2": realtime-device; position 0, delay 0.
  -> closed, s24_le/2ch/96000Hz, buffer 128.

ecasound ('h' for help)> ao-index-select 1

ecasound ('h' for help)> ao-remove
(eca-control-objects) Removing selected audio output "jack" from
selected chains.

ecasound ('h' for help)> ao-add mixdown.wav
(eca-control-objects) Added audio output "mixdown.wav".

ecasound ('h' for help)> c-select 1,2

ecasound ('h' for help)> ao-attach
(eca-control-objects) Attached audio output "mixdown.wav" to selected
chains.

ecasound ('h' for help)> ai-status
### Audio input/output status (chainsetup 'Main') ###
Input (1): "1.wav," - [DB => RIFF wave file]
  -> connected to chains "1": position (0.000/0.000) seconds.
  -> closed, audio format not available until object is opened.
Input (2): "2.wav," - [DB => RIFF wave file]
  -> connected to chains "2": position (0.000/0.000) seconds.
  -> closed, audio format not available until object is opened.
Output (1): "mixdown.wav," - [DB => RIFF wave file] [selected]
  -> connected to chains "1,2": position (0.000/0.000) seconds.
  -> closed, audio format not available until object is opened.

ecasound ('h' for help)> t
(eca-control) NOTE: No chainsetup connected. Trying to connect currently
selected chainsetup "Main"
(eca-chainsetup) "nonrt" buffering mode selected.
(eca-chainsetup) NOTE: using existing audio parameters -f:s24_le,1,96000
for object '1.wav' (tried to open with -f:s16_le,2,44100).
(eca-chainsetup) Opened input "1.wav", mode "read". Format: s24_le,
channels 1, srate 96000, interleaved (locked params).
(eca-chainsetup) NOTE: using existing audio parameters -f:s24_le,1,96000
for object '2.wav' (tried to open with -f:s16_le,2,44100).
(eca-chainsetup) Opened input "2.wav", mode "read". Format: s24_le,
channels 1, srate 96000, interleaved (locked params).
(eca-chainsetup) Opened output "mixdown.wav", mode "read/write
(update)". Format: s24_le, channels 2, srate 96000, interleaved (locked
params).
[* Connected chainsetup: "Main" *]
[* Controller/Processing started *]
ecasound ('h' for help)> [* Engine - Driver start *]
(audioio_jack_manager) JACK transport: both sending and reacting to
transport events (mode: sendrecv)
Segmentation fault (core dumped)

It creates 'mixdown.wav' as a 44 byte file.

I tried everything to remedy this, so it appears it's a bug.

Thanks,
Rocco

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Aug 19 12:15:01 2013

This archive was generated by hypermail 2.1.8 : Mon Aug 19 2013 - 12:15:01 EEST