This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

To install latest alsa plugins in ti sdk 8

Dear Ti e2e community,

As am new alsa, As one of my GSM applciation works fine in ti sdk 7 but that doesn't work in ti sdk8

1. Could you please let me know what are the alsa libraries (names of alsa libraries) ??? & where the alsa libraries can be found (the path of the alsa libraries) ??? in ti sdk 8 rootfs, could you please let me know what version of alsa plugins is being used in ti sdk8,???? does jack alsa plugin is supported in the current rootfs???

2. Does the meaning of alsa libraries & alsa plugins bothe are same???

3. Am trying to download & install latest alsa plugins , could you please provide me the detailed steps of installation in ti sdk8 rootfs with this latest alsa plugins

Kindly do the needful as early as possible as am stuck with this from 4 days

Eagerly awaiting for your replies,

Many Thanks in advance for all your support provided so far & appreciate the same

  • Hi,

    I will ask the SW team to look at this.

  • Hello Srini,

    Why your GSM application does not work in SDK 8, what error it gives?

    Srini said:
    1. Could you please let me know what are the alsa libraries (names of alsa libraries) ??? & where the alsa libraries can be found (the path of the alsa libraries) ??? in ti sdk 8 rootfs, could you please let me know what version of alsa plugins is being used in ti sdk8,???? does jack alsa plugin is supported in the current rootfs???

    Every SDK contains software manifest file which describes the information about library name, version, location and etc.

    Srini said:
    2. Does the meaning of alsa libraries & alsa plugins bothe are same???

    Plugins are software components which extends the functionality of an existing program. Libraries are pre-compiled routines which are used by the programs. In some cases the plugins are glued to the program through libraries.

    Srini said:
    3. Am trying to download & install latest alsa plugins , could you please provide me the detailed steps of installation in ti sdk8 rootfs with this latest alsa plugins

    First you have to set-up your own OE build environment then you can experiment to import whatever you want.

    Best regards,
    Kemal

  • Dear Kemal,

    It doesn't give any error , the application (alsa_loopback_min_mono.c) attached in the below link works fine in ti sdk 7 & doesn't in ti sdk 8

    e2e.ti.com/.../1526183

    Could you please let me know, firstly where can I find alsa libraries in ti sdk 8 rootfs with what names???
    What is the version of this alsa libraries??? does this alsa libraries support all alsa plugins like dshare, dmix jack etc., how can I confirm this that it exists in the ti sdk 8 rootfs??

    Mainly Does this alsa plugins support Jack plugin also ?? or it needs to be explicitly re compiled, if it is recompiled with the earlier procedure provided in the previous link () how can i confirm that it is compiled with jack plugin

    Could you please kindly clarify this??

    So that I can establish my own build environment as you suggested above

    Kindly do the needful as early as possible

    Pls let me know if you require any other details from my side

    Many Thanks in advance
  • Dear Kemal,

    Could you please provide any inputs w.rt. the below queries

    1. Could you please let me know, firstly where can I find alsa libraries in ti sdk 8 rootfs with what names???

    2. What is the version of this alsa libraries??? does this alsa libraries support all alsa plugins like dshare, dmix jack etc., how can I confirm this that it exists in the ti sdk 8 rootfs??

    3. Mainly Does this alsa plugins support Jack plugin also ?? or it needs to be explicitly re compiled, if it is recompiled with the earlier procedure provided in the previous link () how can i confirm that it is compiled with jack plugin

    Could you please kindly clarify this??

    So that I can establish my own build environment as you suggested above

    Kindly do the needful as early as possible

    Pls let me know if you require any other details from my side

    Many Thanks in advance

  • Dear Kemal,

    Could you please provide atleast some info w.r.t the queries

    Kindly do the needful as early as possible

    Awaiting for your replies,
    Many Thanks in advance
  • Sorry Kemal, the above message was posted from my colleagues login

    Could you please provide atleast some info w.r.t the queries

    Kindly do the needful as early as possible

    Many Thanks in advance
  • Srini said:
    1. Could you please let me know, firstly where can I find alsa libraries in ti sdk 8 rootfs with what names???

    These are the names and the locations of alsa libraries in SDK 8:

    /usr/lib/libasound.la
    /usr/lib/libasound.so
    /usr/lib/alsa-lib/smixer/smixer-ac97.la
    /usr/lib/alsa-lib/smixer/smixer-ac97.so
    /usr/lib/alsa-lib/smixer/smixer-hda.la
    /usr/lib/alsa-lib/smixer/smixer-hda.so
    /usr/lib/alsa-lib/smixer/smixer-sbase.la
    /usr/lib/alsa-lib/smixer/smixer-sbase.so

    Srini said:
    2. What is the version of this alsa libraries??? does this alsa libraries support all alsa plugins like dshare, dmix jack etc., how can I confirm this that it exists in the ti sdk 8 rootfs??

    The version of the library is 1.0.27.2-r0. The library should supports every plug-in that is designed to run on it. You can refer to the software manifest to check the present plug-ins in the SDK.

    Srini said:
    3. Mainly Does this alsa plugins support Jack plugin also ?? or it needs to be explicitly re compiled, if it is recompiled with the earlier procedure provided in the previous link () how can i confirm that it is compiled with jack plugin

    I have built the jack plug-in and attached the *.ipk in this reply.
    jack-plugins.zip

    Sincerely yours,
    Kemal

  • Many Thanks a lot Kemal for your prompt responses & would really appreciate the same,
    This really helped me a lot,

    Sorry if this question seems to be silly,

    After I download the above jack-plugins.zip file , should I copy the below ipk's to the /tmp folder ??, & can I use opkg install the below ipk files??, finally can I find the installed libraries in the usr/lib folder with what names???

    jack-dev_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    jack-doc_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    jack-server_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    jack-utils_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    libjack_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk



    Kindly do the needful as early as possible,
    Many Many Thanks in advance again Kemal
  • Dear Kemal,

    When I tried to install the above ipk using opkg am facing the below errors Kemal, could you please help me in resolving this issue 

    root@am335x-evm:/tmp# ls
    jack-dev_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk jack-server_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk libjack_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    jack-doc_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk jack-utils_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    root@am335x-evm:/tmp# op
    openvt opkg opkg-cl opkg-key
    root@am335x-evm:/tmp# opkg install jack-dev_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    Installing jack-dev (0.121.0-r0) to root...
    jack-dev: unsatisfied recommendation for libgcc-s-dev
    jack-dev: unsatisfied recommendation for libjack-dev
    jack-dev: unsatisfied recommendation for libreadline-dev
    jack-dev: unsatisfied recommendation for libc6-dev
    jack-dev: unsatisfied recommendation for libasound-dev
    jack-dev: unsatisfied recommendation for alsa-lib-dev
    jack-dev: unsatisfied recommendation for libsndfile-dev
    jack-dev: unsatisfied recommendation for libsamplerate0-dev
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for jack-dev:
    * jack (= 0.121.0-r0) * libjack *
    * opkg_install_cmd: Cannot install package jack-dev.
    root@am335x-evm:/tmp# opkg install libjack_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    Installing libjack (0.121.0-r0) to root...
    Configuring libjack.
    root@am335x-evm:/tmp#
    root@am335x-evm:/tmp# opkg install jack-dev_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    Installing jack-dev (0.121.0-r0) to root...
    jack-dev: unsatisfied recommendation for libgcc-s-dev
    jack-dev: unsatisfied recommendation for libjack-dev
    jack-dev: unsatisfied recommendation for libreadline-dev
    jack-dev: unsatisfied recommendation for libc6-dev
    jack-dev: unsatisfied recommendation for libasound-dev
    jack-dev: unsatisfied recommendation for alsa-lib-dev
    jack-dev: unsatisfied recommendation for libsndfile-dev
    jack-dev: unsatisfied recommendation for libsamplerate0-dev
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for jack-dev:
    * jack (= 0.121.0-r0) *
    * opkg_install_cmd: Cannot install package jack-dev.
    root@am335x-evm:/tmp# opkg install jack-utils_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    Installing jack-utils (0.121.0-r0) to root...
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for jack-utils:
    * libreadline5 (>= 5.2) *
    * opkg_install_cmd: Cannot install package jack-utils.
    root@am335x-evm:/tmp# opkg install jack-server_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    Installing jack-server (0.121.0-r0) to root...
    Configuring jack-server.
    root@am335x-evm:/tmp#
    root@am335x-evm:/tmp# opkg install jack-utils_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    Installing jack-utils (0.121.0-r0) to root...
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for jack-utils:
    * libreadline5 (>= 5.2) *
    * opkg_install_cmd: Cannot install package jack-utils.
    root@am335x-evm:/tmp# opkg install jack-dev_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    Installing jack-dev (0.121.0-r0) to root...
    jack-dev: unsatisfied recommendation for libgcc-s-dev
    jack-dev: unsatisfied recommendation for libjack-dev
    jack-dev: unsatisfied recommendation for libreadline-dev
    jack-dev: unsatisfied recommendation for libc6-dev
    jack-dev: unsatisfied recommendation for libasound-dev
    jack-dev: unsatisfied recommendation for alsa-lib-dev
    jack-dev: unsatisfied recommendation for libsndfile-dev
    jack-dev: unsatisfied recommendation for libsamplerate0-dev
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for jack-dev:
    * jack (= 0.121.0-r0) *
    * opkg_install_cmd: Cannot install package jack-dev.
    root@am335x-evm:/tmp#
    root@am335x-evm:/tmp# opkg install jack-doc_0.121.0-r0_cortexa8t2hf-vfp-neon.ipk
    Installing jack-doc (0.121.0-r0) to root...
    Configuring jack-doc.
    root@am335x-evm:/tmp# 

    Kindly do the need as early as possible

    Many Thanks in advance

  • Hello Srini,

    The dependency packages needs to be installed firstly but in this case you can skip them with the --nodeps argument.

    Best regards,
    Kemal

  • Dear Kemal,

    Thanks a lot for your quick responses,

    Could you please provide the full command, to install the above ipk's, as this is the first time am using opkg, am not still sure whether opkg can be used for installing the above ipk's 

    1. Could you please provide full command for installing the above ipk's in ti sdk 8, & Could you please provide the full path & names of the alsa jack plugin libraries where it gets installed

    2. Sorry to ask you again, could you please let me know whether the jack plugin's ipk's which you had cross_Compiled are asla jack plugin's  only right???

    Because now am planning to use plugins type jack in my asound.conf & am going to try with it

    Kindly do the needful as early as possible

    Many Thanks once again for your prompt responses

  • Hello Srini,

    Srini said:
    1. Could you please provide full command for installing the above ipk's in ti sdk 8, & Could you please provide the full path & names of the alsa jack plugin libraries where it gets installed

    You can install all the ipks by this command: opkg install --nodeps *.ipk I have no information about where else the alsa libraries can be located except /usr/lib/ and about their other known names or code-names.

    Srini said:
    2. Sorry to ask you again, could you please let me know whether the jack plugin's ipk's which you had cross_Compiled are asla jack plugin's  only right???


    For further jack plugin related information and the porting procedure, please address your questions directly to the plugin maintainers here and here.

    Thank you for the understanding,
    Kemal

  • Thanks a lot Kemal for your support w.r.t this thread it was really helpful

  • Dear Kemal,

    I have installed jack plugin Kemal, as suggested above ,Am facing the below error after I configure in jack in asound.conf as shown below, I have

    root@lifeline:/# vi etc/asound.conf
    pcm.rawjack {
    type jack
    playback_ports {
    0 system:playback_1
    1 system:playback_2
    }
    capture_ports {
    0 system:capture_1
    1 system:capture_2
    }
    }

    pcm.jack {
    type plug
    slave { pcm "rawjack" }
    hint {
    description "JACK Audio Connection Kit"
    }
    }

    pcm.!default {
    type plug
    slave { pcm "rawjack" }
    }

    root@lifeline:/opt/tunstall/audio# aplay -D pcm.jack TangoForTajMusic11.wav
    ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_jack.so
    aplay: main:722: audio open error: No such device or address
    root@lifeline:/opt/tunstall/audio#



    Could you please kindly do the needful how this error can be resolved

    I am trying from 3 days unabel to succeed further

    Kindly do the needful as early as possible

    Many Thanks in advance
  • Hello Srini,

    At first glance, it seems like a missing library issue. Is this file /usr/lib/alsa-lib/libasound_module_pcm_jack.so available in your system?

    Best regards,
    Kemal

  • Dear Kemal

    Am not finding that in ti sdk 8 rootfs /usr/lib/libasound_module_pcm_jack.so (after installing the above attached jack plugins), did you mean is that library needs to be present in the host linux pc???

    I hope, If I cross compile alsa-lib (www.alsa-project.org/.../Main_Page ie., alsa-lib-1.0.29), I can get this library,

    Could you please help me out how this can be cross_compiled , could you please provide me the detailed commands & steps for cross compiling this alsa library - alsa-lib-1.0.29 is there anything needs to be installed in the host pc before cross_compiling this library??

    And sorry to push you hard, could you also try cross_compiling from your end & let me know whether you were able to get this library

    Kindly do the needful as early as possible


    Many Thanks in advance Kemal
  • Hello Srini,

    Sorry for the late reply.

    Is this issue still outstanding?

    Best regards,
    Kemal
  • Yes Dear Kemal,

     Am still facing this issue from many days it is still open for me, could you please help me out in resolving this issue as early as possible

    Could you please retry from your end & let me know 

    Am facing the below error after I configure in jack in asound.conf as shown below, I have 

    root@lifeline:/# vi etc/asound.conf
    pcm.rawjack {
    type jack
    playback_ports {
    0 system:playback_1
    1 system:playback_2
    }
    capture_ports {
    0 system:capture_1
    1 system:capture_2
    }
    }

    pcm.jack {
    type plug
    slave { pcm "rawjack" }
    hint {
    description "JACK Audio Connection Kit"
    }
    }

    pcm.!default {
    type plug
    slave { pcm "rawjack" }
    }

    root@lifeline:/opt/tunstall/audio# aplay -D pcm.jack TangoForTajMusic11.wav
    ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_jack.so
    aplay: main:722: audio open error: No such device or address
    root@lifeline:/opt/tunstall/audio#

    Kindly do the needful 

    Many Many Thanks in advance Kemal,

  • Dear Kemal,

    I have posted the same query to alsa community

    That pkg-config does not know about "alsa". Apparently, TI's SDK did

    not install alsa.pc together with the rest of alsa-lib.

    Report this bug to TI.

    As a workaround, try cross-compiling alsa-lib yourself.

    And Now I have cross_compiled the alsa-lib on my own in ti sdk 8 but still am unable to find the libasound_module_pcm_jack.so, could you please help me out, using this pkgconfig how it can be used to cross_complie alsa_plugins & get the library

    srinivasan@tata-HP-Elite-7100-Microtower-PC:~/alsa_libraries/alsa-lib-1.0.26/binaries/lib/pkgconfig$ ls

    alsa.pc
    srinivasan@tata-HP-Elite-7100-Microtower-PC:~/alsa_libraries/alsa-lib-1.0.26/binaries/lib/pkgconfig$ cd ..

    Could you please kindly do the needful as early as possible, as you are aware am stuck with this issue from many days

    Many Thanks in advance

  • Hello Srini,

    Thank you for reporting this bug.

    There is a message in INSTALL file within the alsa-lib which says that the JACK plugin is moved to alsa-plugins package.

    So you should build alsa-plugins in order to produce the libasound_module_pcm_jack.so library.

    I have successfully built the 1.0.26 version on my OE build system by including and modifying this recipe

    For a quick check, you can install the attached library and check whether the problem will be solved.

    libasound-module-pcm-jack.zip

    Best regards,
    Kemal

  • Dear Kemal,

    Greatly appreciate for your prompt effort & your support

    I will definitely try & get back to you on this..

    Many Thanks

     

  • Dear Kemal,

    Extremely sorry for late updates as I was held up in other activites, after installing I have verified as below am seeing the below error with above asound.conf configuration in etc/asound.conf, could you please try from your starter kit & let me know whether this works for you..

    root@lifeline:/# aplay -D pcm.jack TangoForTajMusic11.wav
    FATAL: cannot locate cpu MHz in /proc/cpuinfo

    Kindly do the needful as early as possible

    Many Thanks in advance Kemal for your prompt responses once again & would really appreciate it

  • This error appear, since the bogomips was removed from the latest ARM kernel versions. You can revert the patch lists.infradead.org/.../178645.html which removes the bogomips or apply this patch github.com/.../d425d8035b761b4a362c538c41eca874ff4995f0 to make the jack work on newer kernel versions.
  • Thanks a lot for your Prompt responses Kemal,

    Am planning to apply the below patch to make the jack work on newer kernel versions.

     github.com/.../d425d8035b761b4a362c538c41eca874ff4995f0 

    As am unable to find the file to apply this patch in the linux kernel, where can I find this file?? to apply the patch, Is there any separate source code package , where I can apply this patch??

    If there is a source code , could you please let me know how this can be cross_compiled & get the binaries/libraries installed in the rootfs or somewhere else??

    Kindly do the needful as early as possible

    Once again really appreciate for your prompt responses

  • Dear Kemal,

    Once Many Thanks a lot for your support w.r.t this thread,

    And I have seen that the below patch is already been reverted in the kernel which ever am using (ti sdk 8 BSP's ie., linux kernel 3.14),

    lists.infradead.org/.../178645.html

    As am using using ti sdk 8 BSP's, Could you please let me know where can I find the source code for applying the below patch in ti sdk 8 BSP's

    apply this patch github.com/.../d425d8035b761b4a362c538c41eca874ff4995f0 to make the jack work on newer kernel versions.

    Also could you please provide the jack source code links compatible with our ti sdk 8 BSP's, where I can apply the above patch & how this needs to be cross_compiled & installed in the rootfs

    Kindly do the needful as early as possible Kemal as am stuck in this from long time


    Many Thanks in advance again

  • Dear Kemal,

    Extremely sorry to push you hard, could you please provide any inputs w.r.t the above query, 

    could you please provide the jack source code links compatible with our ti sdk 8 BSP's, where I can apply the above patch & could you please provide the detailed steps of  how this needs to be cross_compiled & installed in the rootfs

    Many Thanks in advance again,

  • Hello Srini,

    Sorry for the delay.

    I have built the latest jack plugin with the patch included as per steps described on my earlier posts.
    Could you check them and post the feedback.

    latest_jack_plugin_commit_5af5815c47630b77cc71c91a460f8aa398017cf7.zip

    Best regards,
    Kemal

  • Dear Kemal,

    Thanks a lot for your prompt responses

    I freshly installed only the above ipk's that was in (latest_jack_plugin_commit_5af5815c47630b77cc71c91a460f8aa398017cf7.zip) to the rootfs which ever am using ie., ti sdk 8's ie., arago-base-tisdk-image-am335x-evm.tar.gz, still am seeing the below errors

    root@lifeline:/jack# ls
    db_5.3.21-r0_cortexa8t2hf-vfp-neon.ipk
    jack-dbg_0.124.1-r0_cortexa8t2hf-vfp-neon.ipk
    jack-dev_0.124.1-r0_cortexa8t2hf-vfp-neon.ipk
    jack-doc_0.124.1-r0_cortexa8t2hf-vfp-neon.ipk
    jack-server_0.124.1-r0_cortexa8t2hf-vfp-neon.ipk
    jack-utils_0.124.1-r0_cortexa8t2hf-vfp-neon.ipk
    libjack_0.124.1-r0_cortexa8t2hf-vfp-neon.ipk
    root@lifeline:/jack# opkg install --nodeps *.ipk
    Installing db (5.3.21-r0) to root...
    Installing jack-dbg (0.124.1-r0) to root...
    Installing jack-dev (0.124.1-r0) to root...
    Installing jack-doc (0.124.1-r0) to root...
    Installing jack-server (0.124.1-r0) to root...
    Installing jack-utils (0.124.1-r0) to root...
    Installing libjack (0.124.1-r0) to root...
    Configuring db.
    Configuring libjack.
    Configuring jack-utils.
    Configuring jack-dev.
    Configuring jack-doc.
    Configuring jack-server.
    Configuring jack-dbg.
    root@lifeline:/jack# cd /
    root@lifeline:/# cd /opt/tunstall/audio/
    root@lifeline:/opt/tunstall/audio# aplay -D pcm.jack TangoForTajMusic11.wav
    ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_jack.so
    aplay: main:722: audio open error: No such device or address
    root@lifeline:/opt/tunstall/audio#

    After I saw the above errors, I tried to install libasound-module-pcm-jack_1.0.26-r0_cortexa8t2hf-vfp-neon.ipk

    root@lifeline:/opt/tunstall/audio# aplay -D pcm.jack TangoForTajMusic11.wav
    connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
    attempt to connect to server failed
    aplay: main:722: audio open error: No such file or directory
    root@lifeline:/opt/tunstall/audio#

    Could you please  let me know why am seeing the above errors??? am I doing anything wrong in installing or missed to install any other ipk's???

    Kindly do the needful as early as possible

    Many Thanks in advance once again Kemal

  • You should start the server firs.

    jackd -d alsa &

  • Dear Kemal,

    Many Thanks a lot for all your support w.r.t this thread.

    1. It is playing now but am getting lot of xrun's as shown below, audio is getting crackled

    Could you please let me know why am I getting these XRUNS

    root@lifeline:/# aplay -D pcm.jack /opt/tunstall/audio/TangoForTajMusic11.wav

    Playing WAVE '/opt/tunstall/audio/TangoForTajMusic11.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

    delay of 9791.000 usecs exceeds estimated spare time of 4611.000; restart ...

    delay of 9791.000 usecs exceeds estimated spare time of 4611.000; restart ...

    **** alsa_pcm: xrun of at least 2.051 msecs

    **** alsa_pcm: xrun of at least 17.152 msecs

    **** alsa_pcm: xrun of at least 9.337 msecs

    **** alsa_pcm: xrun of at least 9.441 msecs

    Many Thanks in advance

  • Are these warnings still present if you run the server with the -r argument?

    jackd -r -d alsa &

  • Many Thanks a lot Kemal, that worked.. Greatly appreciate your support w.r.t this thread

    But one issue is that when I try to play a 8Khz 16 bit mono wav file, I see the song is not completely being played, I hope that audio samples are getting dropped,

    Can you please compare any one wav file which is of 8Khz 16 bit mono wav file by playing it your PC & your atarter kit using this jack plugin

    Many Many Thanks w.r.t your prompt support8khz_16bit_mono.zip

  • I ran the sample on my i7 desktop computer and the result is the same. The song is cut off 40 ms earlier before the end. Probably the audio buffer is not being properly flushed out or the last slice does not fill the defined buffer size and it is abandoned.

  • Dear Kemal,

    Many Thanks a lot wrt the above experiment,

    Could you please let me know is there any chances, could you please help me out, that whether this can be fixed in jack plugin source code to fix this issue

    Kindly do the needful as early as possible

    Many Many Thanks in advance
  • Hello Srini,

    There is useful documentation on their site: http://jackaudio.org/api/ to which you can refer.
    The fastest solution you should get from the plugin authors/maintainers, please contact them or file a bug.

    Jack plugin home page:
    http://jackaudio.org/
    Jack plugin github:
    github.com/.../jack1 .
    Jack plugin mailing list:
    jack-audio.10948.n7.nabble.com/Jackit-devel-lists-sourceforge-net-f12809.html

    Best regards,
    Kemal
  • Many Thanks a lot for your quick responses Kemal,

    Fine no probs will try to keep posted in jack mailing lists,

    Even I will try to debug the issue, Could you please let me know the verison of the jack plugins & the source code path being used in this thread & how to compile the jack plugins, please let me know with detailed steps ie., how to sync the source code & the path of the libraries needs to be copied to the rootfs & the commands used for compilation

    Many Thanks in advance

  • The attached plug-in on this post e2e.ti.com/.../1606651 is built on top of the master branch on commit ID 5af5815c47630b77cc71c91a460f8aa398017cf7 from Jul 3 2015. It is the 55th commit onto the version 0.124.1.

    These are the detailed steps for compilation:

    git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    cd tisdk
    ./oe-layertool-setup.sh -f configs/amsdk/amsdk-08.00.00.00-config.txt
    cd sources/meta-openembedded/meta-oe/recipes-multimedia/jack
    cp jack_0.121.0.bb jack_0.124.1.bb
    sed -i 's/91a688c602b7ce1711d8ad10fb07ebcf2e530a64/5af5815c47630b77cc71c91a460f8aa398017cf7/g' jack_0.124.1.bb
    cd -
    cd build
    . conf/setenv
    export PATH=$HOME/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH
    MACHINE=am335x-evm bitbake -c fetch jack
    MACHINE=am335x-evm bitbake -c unpack jack
    cd arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/jack/0.124.1-r0/git
    rm -rf jack tools example-clients
    git clone https://github.com/jackaudio/headers.git jack
    git clone https://github.com/jackaudio/example-clients.git
    git clone https://github.com/jackaudio/tools.git
    cd -
    MACHINE=am335x-evm bitbake jack

    The final plug-in packages are located in build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/jack/0.124.1-r0/deploy-ipks/cortexa8t2hf-vfp-neon
    You need to install the build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/db/5.3.21-r0/deploy-ipks/cortexa8t2hf-vfp-neon/db_5.3.21-r0_cortexa8t2hf-vfp-neon.ipk too, hence the jack plug-in depends on it.

  • Many Many Thanks a lot Kemal will try this definitely and will keep posted if face any issues in the build execution