[livesupport-dev] LiveSupport Studio: Success on 2 sound cards!
  • This is a multipart message in MIME format.
    --=_alternative 00568E0CC125705B_=
    Content-Type: text/plain; charset="us-ascii"

    Hi all,

    I'm very to happy to report a major milestone in the 1.0 testing: I've
    been able to bring up LiveSupport Studio and play output on two sound
    cards simultaneously!

    As it turns out, my problem was that I was using a USB sound card that
    didn't work. Just out of curiousity, I tried a different USB sound card (a
    Sound Blaster Extigy USB), and got system sound out of it.

    Using cat /proc/asound/cards, I was able to see that the system correctly
    detected and identified the sound cards I have installed. In my case it
    looks like:

    root@chachi:/home/douglas # cat /proc/asound/cards
    0 [Extigy ]: USB-Audio - Sound Blaster Extigy
    Creative Technology Ltd. Sound Blaster Extigy at
    usb-0000:00:1d.1-1.2, full speed
    1 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3
    Intel 82801CA-ICH3 with YMF753 at 0x1c00, irq 9
    2 [Modem ]: ICH-MODEM - Intel 82801CA-ICH3 Modem
    Intel 82801CA-ICH3 Modem at 0x2400, irq 9

    The number at the beginning of each card tells you the /dev/dsp value you
    have to use in the LiveSupport Studio config file, which is located in
    /opt/livesupport/etc/gLiveSupport.xml. I changed the following lines to
    read:













    Once I changed those lines, I was able to play properly, with the output
    of Live Mode going to my default sound card, the Extigy USB, and the
    output of the cue going to my notebook's onboard Yamaha AC-XG, which the
    system identifies as ICH - Intel 82801.

    For me, the debate over whether to use ALSA or OSS is completely beside
    the point, as I'm using ALSA's OSS emulation.

    I still don't know why ALSA-style "plughw:0,0" and "plughw:1,0" don't work
    (main output is coming out choppy when I specify "plughw:0,0", and cue
    output doesn't work at all). I'll be curious to find out what others have
    come up with.

    doug

    =============================================
    Media Development Loan Fund
    =============================================
    Douglas Arellanes
    Head of Research and Development
    Center for Advanced Media--Prague (CAMP)
    Na vinicnich horach 24a/1834, 160 00 Prague 6
    Czech Republic
    Tel: + 420 2 3333 5356, Fax: +420 2 2431 5419
    Mobile: +420 724 073 364
    http://www.mdlf-camp.net
    http://www.campware.org
    =============================================
    http://www.mdlf.org
    =============================================
    --=_alternative 00568E0CC125705B_=
    Content-Type: text/html; charset="us-ascii"



    Hi all,



    I'm very to happy to report a major milestone in the 1.0 testing: I've been able to bring up LiveSupport Studio and play output on two sound cards simultaneously!



    As it turns out, my problem was that I was using a USB sound card that didn't work. Just out of curiousity, I tried a different USB sound card (a Sound Blaster Extigy USB), and got system sound out of it.



    Using cat /proc/asound/cards, I was able to see that the system correctly detected and identified the sound cards I have installed. In my case it looks like:



    root@chachi:/home/douglas # cat /proc/asound/cards

    0 [Extigy         ]: USB-Audio - Sound Blaster Extigy

                         Creative Technology Ltd. Sound Blaster Extigy at usb-0000:00:1d.1-1.2, full speed

    1 [I82801CAICH3   ]: ICH - Intel 82801CA-ICH3

                         Intel 82801CA-ICH3 with YMF753 at 0x1c00, irq 9

    2 [Modem          ]: ICH-MODEM - Intel 82801CA-ICH3 Modem

                         Intel 82801CA-ICH3 Modem at 0x2400, irq 9



    The number at the beginning of each card tells you the /dev/dsp value you have to use in the LiveSupport Studio config file, which is located in /opt/livesupport/etc/gLiveSupport.xml. I changed the following lines to read:



    <outputPlayer>

            <audioPlayer>

                    <gstreamerPlayer audioDevice = "/dev/dsp" />

            </audioPlayer>

    </outputPlayer>



    <cuePlayer>

            <audioPlayer>

                    <gstreamerPlayer audioDevice = "/dev/dsp1" />

            </audioPlayer>

    </cuePlayer>



    Once I changed those lines, I was able to play properly, with the output of Live Mode going to my default sound card, the Extigy USB, and the output of the cue going to my notebook's onboard Yamaha AC-XG, which the system identifies as ICH - Intel 82801.



    For me, the debate over whether to use ALSA or OSS is completely beside the point, as I'm using ALSA's OSS emulation.



    I still don't know why ALSA-style "plughw:0,0" and "plughw:1,0" don't work (main output is coming out choppy when I specify "plughw:0,0", and cue output doesn't work at all). I'll be curious to find out what others have come up with.



    doug



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

    Media Development Loan Fund

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

    Douglas Arellanes

    Head of Research and Development

    Center for Advanced Media--Prague (CAMP)

    Na vinicnich horach 24a/1834, 160 00  Prague 6

    Czech Republic

    Tel: + 420 2 3333 5356, Fax: +420 2 2431 5419

    Mobile: +420 724 073 364

    http://www.mdlf-camp.net

    http://www.campware.org

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

    http://www.mdlf.org

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

    --=_alternative 00568E0CC125705B_=--

    ------------------------------------------
    Posted to Phorum via PhorumMail