Karl et al

tried nobody/nogroup, audio/audio still did not work. seems to center around missing /dev/dsp also all the oss libs are installed but still dsp not created and usual methods of modprobe either gen errors or don't create /dev/dsp

Maybe someone in the forum can opine whether I have got the big picture of audio right below:

1. on startup the kernel detects all hardware and loads all needed modules for existing hardware.

2. when ALSA is chosen to be used, these modules are configured such that they communicate with the ALSA server first then the hardware.

3. when JACK is installed it wraps ALSA with an additional layer such that all inputs and outputs from ALSA are first fed through JACK thence back to ALSA and then the hardware via the modules once the connections are defined in JACK connections.

4. JACK aware applications talk to JACK which communicates with ALSA thence to the hardware modules.

5. NON-JACK aware applications communicate directly with ALSA and thence to the hardware supposedly; NO? but they don't when JACK is running (unless alsaloop is running as some suggest)

6. All applications, jack-aware and non aware, will work via ALSA directly when JACK is not running.

PulseAudio has been removed and omitted from the big picture becuz it just makes people more confused and their heads hurt. ***grin***


Thanks
Andy

On 14-03-22 10:49 PM, Karl Koscher wrote:
Try setting the user that darkice runs as in /etc/default/darkice. It should be the same user that everything else runs as.


On Sat, Mar 22, 2014 at 3:22 PM, VE4PER/Andy <[email protected] <mailto:[email protected]>> wrote:

    On 14-03-22 10:14 PM, Karl Koscher wrote:
    Is darkice running as the same user as jackd?
    Is installed the same as all the other media programs like
    audacity, alsaplayer etc and run the same; they work darkice
    doesn't. I will give it some thought this weekend though. all were
    installed under sudo, you may have a point qjackctl is run by a
    user, as are all the media players and editors; but darkice has to
    be launched as sudo which is different that qjackctl








    On Sat, Mar 22, 2014 at 9:00 AM, VE4PER/Andy <[email protected]
    <mailto:[email protected]>> wrote:

        Hello all,

        I have installed ALSA,JACK, and Darkice. Jackd2 is running in
        real time no problem and audacity, ardour, alsaplayer and
        aqualung all wok as advertised with it.

        Where I have a problem is Darkice, I cannot get it to connect
        to icecast2 server input nor show up in Jack
        Connections/Patchbay. Icecast2 is workting fine and when I
        click on the "listen Live" link on the station website it
        opens alsaplayer as it is supposed to; so I assume all is
        well with icecast2.

        Thanks, Andy

        the problem is as below (and if someone could point me to a
        patch and procedure to apply it) :
        -----------------
        darkice -c /usr/local/icecast2/conf/darkice.cfg
        DarkIce 1.0 live audio streamer,
        http://code.google.com/p/darkice/
        Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
        Copyright (c) 2008-2010, Akos Maroy and Rafael Diniz
        This is free software, and you are welcome to redistribute it
        under the terms of The GNU General Public License version 3 or
        any later version.

        Using config file: /usr/local/icecast2/conf/darkice.cfg
        Using JACK audio server as input device.
        Using POSIX real-time scheduling, priority 98
        jack_client_new: deprecated
        Cannot connect to server socket err = No such file or directory
        Cannot connect to server socket
        jack server is not running or cannot be started
        DarkIce: JackDspSource.cpp:216: JACK server not running? [0]

        ----------------
        config file

        [general]
        duration                 = 0      # duration in s, 0 forever
        bufferSecs              = 1      # buffer, in seconds
        reconnect               = yes    # reconnect if disconnected

        [input]
        device                  = jackauto  # for jack audio connection
        sampleRate          = 44100  # sample rate 11025, 22050 or 44100
        bitsPerSample       = 16     # bits
        channel                 = 2      # 2 = stereo

        [icecast2-0]
        bitrateMode         = vbr       # variable bit rate (`cbr'
        constant, `abr' average)
        quality                 = 1.0       # 1.0 is best quality
        format                  = mp3       # format. Choose `vorbis'
        for OGG Vorbis
        bitrate                 = 256       # bitrate
        server                  = woodchipper # or IP
        port                        = 8049      # port for IceCast2
        access
        password                = password    # source password to
        the IceCast2 server
        mountPoint              = ccor58.mp3  # mount point on the
        IceCast2 server .mp3 or .ogg
        name                        = ccor58

        -----------------------
        sysinfo

        -Computer-
        Processor                : 2x AMD Athlon(tm) II X2 215 Processor
        Memory                   : 3791MB (1934MB used)
        Operating System        : Ubuntu 12.04.4 LTS
        User Name                : userid (Maintenance)
        Date/Time                : Sat 22 Mar 2014 03:51:42 PM UTC
        -Display-
        Resolution                : 2944x1080 pixels
        OpenGL Renderer        : GeForce 9200/integrated/SSE2
        X11 Vendor                    : The X.Org Foundation
        -Multimedia-
        Audio Adapter        : HDA-Intel - HDA NVidia
        Audio Adapter        : Em28xx-Audio - Em28xx Audio
        -Input Devices-
         Power Button
         Power Button
         em28xx IR (em28xx
         HDA NVidia Line
         HDA NVidia Front Mic
         HDA NVidia Rear Mic
         HDA NVidia Front Headphone
         HDA NVidia Line-Out CLFE
         HDA NVidia Line-Out Surround
         HDA NVidia Line-Out Front

        -Version-
        Kernel                        : Linux 3.2.0-60-generic (x86_64)
        Compiled                    : #91-Ubuntu SMP Wed Feb 19
        03:54:44 UTC 2014
        C Library                    : Unknown
        Default C Compiler        : GNU C Compiler version 4.6.3
        (Ubuntu/Linaro 4.6.3-1ubuntu5)
        Distribution                : Ubuntu 12.04.4 LTS
        -Current Session-
        Computer Name           : workstation
        User Name                    : userid (Maintenance)
        Home Directory               : /home/userid
        Desktop Environment        : XFCE 4

        -Memory-
        Total Memory        : 3791656 kB
        Free Memory        : 400064 kB

        -------------------------

        _______________________________________________
        Rivendell-dev mailing list
        [email protected]
        <mailto:[email protected]>
        http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev





_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to