pb with dsnoop plugin and micronas usb chipset.

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

 



Hello,

we are trying to use a micronas usb chipset with alsa in debian stable 
it works ok with pcm default. (record and listen perfectly), but when we 
try to use it with some dsnoop/dmix plugin, the application segfault.

the product is here :
http://www.mbquart.de/en/produkte/pro/headsets/produkt.php?nr=mbk_c_800_usb#
it is : Bus 002 Device 002: ID 074d:3554 Micronas GmbH

for exemple :

arecord toto.wav -> ok

arecord --buffer-size=2 --period-size=256 --rate=44100 toto.wav -> ok

arecord -r 48000 -f S16_LE toto.wav -> ok

arecord -Dplug:mixin toto.wav -> segfault
arecord -Dplug:swmixer toto.wav -> segfault


with in asound.conf
pcm.swmixer {
        type dmix
        ipc_key 1234
        slowptr yes
        slave {
                pcm "hw:0,0"
#               period_time 0
#               period_size 1024
#               buffer_size 4096
                rate 48000
        }
}

pcm.mixin {
        type dsnoop
        ipc_key 5978293
        ipc_key_add_uid yes
        slave {
                pcm "hw:0,0"
                channels 2
                period_size 256
                buffer_size 2
                rate 48000
        }
        bindings {
                0 0
                0 1
        }
}
pcm.dsp0 {
        type plug
        slave.pcm "mixin"
}


[ we tried many period_size buffer_size with no success)

the coredump says nothing
--------------------------------
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `arecord -D plug:mixin toto.wav'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7eae080 in ?? ()
---------------------------------

with other heaset non usb (sound chipset on the pother board) it runs ok.

we are using a debian etch with alsa 1.0.13-5

we tried to exclude the device because of adaptative/non_adaptative 
mode, but nothing changes.

http://www.mail-archive.com/linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx/msg20300.html


what we would like to do is being able to have 2 applications dealing 
with capture stream (for exemple arecord toto.wav, recording on the 
current uc AND  "aoss vlc" streaming /dev/dsp0).

thanks in advance for your help

hervé
















-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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