[campcaster-support] Campcaster with Jack
  • Hi,

    I've been trying hard to get Campcaster running with Jack Audio. No luck
    so far! These are the things that I've tried:

    **** Set up a /etc/asound.conf :

    pcm.jackplug {
    type plug
    slave { pcm "jack" }
    }

    pcm.jack {
    type jack
    playback_ports {
    0 alsa_pcm:playback_1
    1 alsa_pcm:playback_2
    }
    capture_ports {
    0 alsa_pcm:capture_1
    1 alsa_pcm:capture_2
    }
    }

    Then start jack: jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2

    Then set the cue and live output devices in Campcaster-studio to
    "jackplug". This gives an error saying that the device jackplug does not
    exist. I even tried with "default" and "hw:0,0", but it says that the
    device is already in use.

    **** Then I tried to run it through artsdsp. So, I first start jack:
    jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2

    Then, artsd: : artsd -F 15 -S 128 -r 44100 -a jack -d

    Then: artsdsp -m campcaster-studio. Note that campcaster-studio is
    actually started through a script and artsdsp only works for binaries.
    So, I edited the script to start campcaster-studio through artsdsp.

    And then I again tried with different device settings in
    Campcaster-studio, including "/dev/dsp". But it keeps saying that the
    device is already in use.

    **** Then I even tried going the gstreamer route. I installed
    gstreamer0.10-plugins-bad, changed the Autoaudiosink for gstreamer to
    jackaudiosink through gconf-editor, and created a .jack.plumbing file as
    given in: http://ubuntuforums.org/archive/index.php/t-554457.html

    This whole thing works perfectly for rhythmbox -- I am able to play
    rhythmbox through jack by starting jack.plumbing. But it doesn't work
    for Campcaster, no matter what kind of sound device I specify for the
    cue and live outputs.

    Any ideas? I really need to get Campcaster running through jack! Please
    help Smile

    Adi
  • 2 Comments sorted by
  • Hi Adi,

    There is a ticket and a change-set about the possibility to use a other
    audio device then ALSA as default in Campcaster. We have solved this
    issue in the Campcaster SVN / development version.

    http://code.campware.org/projects/campcaster/ticket/2296
    http://code.campware.org/projects/campcaster/changeset/3327

    In SVN the device pointer /dev/dsp does not excises any more. So if you
    change your audio device from "default" to "auto" it will be identified
    as autoaudiosink. That opens your possibility for using JACK.

    Good to know we have GStreamer and it's plugins included in Campcaster
    so there no need to install .


    Thanks,


    Frans van Berckel

    On Fri, 2008-06-20 at 15:00 -0400, Aaditeshwar Seth wrote:
    > Hi,
    >
    > I've been trying hard to get Campcaster running with Jack Audio. No luck
    > so far! These are the things that I've tried:
    >
    > **** Set up a /etc/asound.conf :
    >
    > pcm.jackplug {
    > type plug
    > slave { pcm "jack" }
    > }
    >
    > pcm.jack {
    > type jack
    > playback_ports {
    > 0 alsa_pcm:playback_1
    > 1 alsa_pcm:playback_2
    > }
    > capture_ports {
    > 0 alsa_pcm:capture_1
    > 1 alsa_pcm:capture_2
    > }
    > }
    >
    > Then start jack: jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
    >
    > Then set the cue and live output devices in Campcaster-studio to
    > "jackplug". This gives an error saying that the device jackplug does not
    > exist. I even tried with "default" and "hw:0,0", but it says that the
    > device is already in use.
    >
    > **** Then I tried to run it through artsdsp. So, I first start jack:
    > jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
    >
    > Then, artsd: : artsd -F 15 -S 128 -r 44100 -a jack -d
    >
    > Then: artsdsp -m campcaster-studio. Note that campcaster-studio is
    > actually started through a script and artsdsp only works for binaries.
    > So, I edited the script to start campcaster-studio through artsdsp.
    >
    > And then I again tried with different device settings in
    > Campcaster-studio, including "/dev/dsp". But it keeps saying that the
    > device is already in use.
    >
    > **** Then I even tried going the gstreamer route. I installed
    > gstreamer0.10-plugins-bad, changed the Autoaudiosink for gstreamer to
    > jackaudiosink through gconf-editor, and created a .jack.plumbing file as
    > given in: http://ubuntuforums.org/archive/index.php/t-554457.html
    >
    > This whole thing works perfectly for rhythmbox -- I am able to play
    > rhythmbox through jack by starting jack.plumbing. But it doesn't work
    > for Campcaster, no matter what kind of sound device I specify for the
    > cue and live outputs.
    >
    > Any ideas? I really need to get Campcaster running through jack! Please
    > help Smile
    >
    > Adi
    >
  • Thanks Frans! I'll try out the development version and let you know if I
    run into problems. When is the next release planned btw?

    Frans van Berckel wrote:
    > Hi Adi,
    >
    > There is a ticket and a change-set about the possibility to use a other
    > audio device then ALSA as default in Campcaster. We have solved this
    > issue in the Campcaster SVN / development version.
    >
    > http://code.campware.org/projects/campcaster/ticket/2296
    > http://code.campware.org/projects/campcaster/changeset/3327
    >
    > In SVN the device pointer /dev/dsp does not excises any more. So if you
    > change your audio device from "default" to "auto" it will be identified
    > as autoaudiosink. That opens your possibility for using JACK.
    >
    > Good to know we have GStreamer and it's plugins included in Campcaster
    > so there no need to install .
    >
    >
    > Thanks,
    >
    >
    > Frans van Berckel
    >
    > On Fri, 2008-06-20 at 15:00 -0400, Aaditeshwar Seth wrote:
    >
    >> Hi,
    >>
    >> I've been trying hard to get Campcaster running with Jack Audio. No luck
    >> so far! These are the things that I've tried:
    >>
    >> **** Set up a /etc/asound.conf :
    >>
    >> pcm.jackplug {
    >> type plug
    >> slave { pcm "jack" }
    >> }
    >>
    >> pcm.jack {
    >> type jack
    >> playback_ports {
    >> 0 alsa_pcm:playback_1
    >> 1 alsa_pcm:playback_2
    >> }
    >> capture_ports {
    >> 0 alsa_pcm:capture_1
    >> 1 alsa_pcm:capture_2
    >> }
    >> }
    >>
    >> Then start jack: jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
    >>
    >> Then set the cue and live output devices in Campcaster-studio to
    >> "jackplug". This gives an error saying that the device jackplug does not
    >> exist. I even tried with "default" and "hw:0,0", but it says that the
    >> device is already in use.
    >>
    >> **** Then I tried to run it through artsdsp. So, I first start jack:
    >> jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
    >>
    >> Then, artsd: : artsd -F 15 -S 128 -r 44100 -a jack -d
    >>
    >> Then: artsdsp -m campcaster-studio. Note that campcaster-studio is
    >> actually started through a script and artsdsp only works for binaries.
    >> So, I edited the script to start campcaster-studio through artsdsp.
    >>
    >> And then I again tried with different device settings in
    >> Campcaster-studio, including "/dev/dsp". But it keeps saying that the
    >> device is already in use.
    >>
    >> **** Then I even tried going the gstreamer route. I installed
    >> gstreamer0.10-plugins-bad, changed the Autoaudiosink for gstreamer to
    >> jackaudiosink through gconf-editor, and created a .jack.plumbing file as
    >> given in: http://ubuntuforums.org/archive/index.php/t-554457.html
    >>
    >> This whole thing works perfectly for rhythmbox -- I am able to play
    >> rhythmbox through jack by starting jack.plumbing. But it doesn't work
    >> for Campcaster, no matter what kind of sound device I specify for the
    >> cue and live outputs.
    >>
    >> Any ideas? I really need to get Campcaster running through jack! Please
    >> help Smile
    >>
    >> Adi
    >>
    >>
    >
    >