Posts by bash

    Hello,


    we have an issue with an interrupted RTP stream: sending and receiving an RTP strem (MU_LAW 8KHz) between two armStone boards works fine.
    The problem occurs on network interruption or the sender died: approximately the last 500ms audio samples are repeated for about 180 seconds.


    sender test code: <!-- m --><a class="postlink" href="http://pastebin.com/fKaSJJ3h">http://pastebin.com/fKaSJJ3h</a><!-- m -->
    receiver test code: <!-- m --><a class="postlink" href="http://pastebin.com/d8nnBbLp">http://pastebin.com/d8nnBbLp</a><!-- m -->


    You should compile with -lortp -lasound and add multicast route to your system:

    Code
    1. # route add -net 224.0/4 dev eth0
    2. # ./sender <card_name> <port>
    3. or
    4. # ./receiver <card_name> <port>
    5. where <card_name> could be "default"


    Best regards,


    Marco Bascetta

    Hello,


    when I try to acquire and reproduce from LINE_IN or MIC to LINE_OUT, the audio stream seems good, but I have the following error on dmesg:

    Code
    1. # arecord | aplay
    2. Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
    3. Playing WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
    4. Aborted by signal Interrupt...
    5. Aborted by signal Interrupt...
    6. # dmesg | tail -n 2
    7. samsung-i2s samsung-i2s.0: Not enforcing symmetric_rates due to race
    8. sgtl5000 4-000a: Not enforcing symmetric_rates due to race


    It is a critical race condition or I can ignore it?


    I'm using an armStoneA8 rev 1.20, with Kernel and BSP given with the evaluation kit.


    Thanks,
    Marco