Skip to contentSkip to conversation

: plug:multi:ladspa chain causes "aplay: pcm_params.c:146: snd_pcm_hw_param_get_min: Assertion `!snd_interval_empty(i)' failed."

ALSA - lib 0000842 [email protected] 1 participant 1 message Jan 22, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=842>
======================================================================
Reported By: roothorick
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   842
Category:                   ordinary pcm
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             01-22-2005 19:40 CET
Last Modified:              01-22-2005 19:40 CET

======================================================================
Summary: plug:multi:ladspa chain causes "aplay:
pcm_params.c:146: snd_pcm_hw_param_get_min: Assertion `!snd_interval_empty(i)' failed."
Description:
For reference, my primary soundcard has a CMI8738 chipset with two DACs.

My .asoundrc contains the following PCM definitions:

pcm.pfront {
type plug
slave.pcm "front"
}

pcm.prear {
type plug
slave.pcm "rear"
}

pcm.prearinv {
        type plug
        slave.pcm {
                type ladspa
                slave.pcm "prear"
                plugins [
                        {       
                                label inv
                        }
                ]
        }
}
pcm.surround40fixbass {
        type multi
        slaves.0.pcm "pfront"
        slaves.0.channels 2
        slaves.1.pcm "prearinv"
        slaves.1.channels 2
        bindings [
                { slave 0; channel 0 }
                { slave 0; channel 1 }
                { slave 1; channel 0 }
                { slave 1; channel 1 }
        ]
        master 0
}

pcm.psurround40fixbass {
type plug
slave.pcm "surround40fixbass"
}

Using MPlayer, I created two .wav files for test purposes: test-2ch.wav (2 channels), and test-4ch.wav (4 channels). I then attempted several different tests (I'm posting the most notable here):

roothorick@prodigy ~/tmp $ aplay -D pfront test-2ch.wav Playing WAVE 'test-2ch.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
# Sound plays from front speakers. Expected behavior.

roothorick@prodigy ~/tmp $ aplay -D prearinv test-2ch.wav Playing WAVE 'test-2ch.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
# Sound plays from rear speakers. Expected behavior.

roothorick@prodigy ~/tmp $ aplay -D surround40 test-4ch.wav Playing WAVE 'test-4ch.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Channels 4
# Sound plays from all four speakers. Expected behavior.

roothorick@prodigy ~/tmp $ aplay -D surround40fixbass test-4ch.wav Playing WAVE 'test-4ch.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Channels 4
# Sound plays from only front speakers. Was expecting sound from all four speakers.

roothorick@prodigy ~/tmp $ aplay -D psurround40fixbass test-4ch.wav Playing WAVE 'test-4ch.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Channels 4
aplay: pcm_params.c:146: snd_pcm_hw_param_get_min: Assertion `!snd_interval_empty(i)' failed.
Aborted by signal Aborted...
# No sound is ever produced. Was expecting sound from all four speakers.
======================================================================

Issue History
Date Modified Username Field Change
======================================================================
01-22-05 19:40 roothorick New Issue
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl