Jump to content

kolegs

Members
  • Posts

    5
  • Joined

  • Last visited

  1. I was wondering if I need RT kernel anyway, since I don't need latency at the level of 10ms, I just want to make P2P connection and send audio data online to talk, so the latency at the level of 0.5s are acceptable. But I am not sure where can I look for an answer. EDIT: I tried to set buffer to smaller and it works. Need to port it to my software. arecord -B 320 | aplay -B 320
  2. I've compiled RT kernel, is there any way I can confirm that it works? And how can I advantage from RT kernel? That's the version: 3.4.113-rt143-sun8i
  3. Hi, I got a problem with orange pi zero and audio record latency. What I try to do is to record the audio on orange pi zero, send data to my phone and play it here, but the delay is big(around ~1-1.5s) that's is quite a lot. I've tested it for a few days now and I am sure the delay is on the device. What is interesting sending audio the other way(phone->orange pi zero) has no delay at all(~0.1s). First I tried to use Qt(5.9) and QAudioInput, now I switched to alsa libraries but no results. I also tried to use command line to check this arecord | aplay but still I can hear the delay. Is there any way to decrease the latency? Thanks for help in advance.
  4. Oh right, fixed recompilling Qt on my own. Probably some problem with Qt using another kernel module in precompilled Qt from repositories. After my own compilation sending UDP package takes usually around 1ms time.
  5. Hi, I am trying to create some kind of audio streaming server on orange pi zero. I've installed Qt5 and tried to start streaming audio using UDP datagrams. The problem is that sending one datagram takes a lot of time(~50-100ms) so there are interrupts in audio streaming. What is more I found out writing datagram gives me this message in dmesg: Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev- instead. I am using Xenial with Linux orangepizero 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l GNU/Linux That is my lsmod output: usbtv 9551 0 videobuf2_vmalloc 2336 1 usbtv videobuf2_memops 1819 1 videobuf2_vmalloc videobuf2_core 18070 1 usbtv ir_lirc_codec 3650 0 lirc_dev 7834 1 ir_lirc_codec ir_mce_kbd_decoder 2885 0 ir_sanyo_decoder 1480 0 ir_sony_decoder 1422 0 ir_jvc_decoder 1452 0 ir_rc6_decoder 1941 0 ir_rc5_decoder 1412 0 ir_nec_decoder 1556 0 sunxi_cir 1601 0 rc_core 12727 10 ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,sunxi_cir,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder pcf8591 3363 0 bmp085 3487 0 xradio_wlan 210530 0 g_serial 27617 2 mac80211 358445 1 xradio_wlan btrfs 712409 0 Thanks in advance.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines