Firefly开源社区

打印 上一主题 下一主题

[Linux] 实时录播延迟长达100ms

121

积分

0

威望

0

贡献

技术小白

积分
121

实时录播延迟长达100ms

发表于 2019-3-26 16:42:09      浏览:9244 | 回复:9        打印      只看该作者   [复制链接] 楼主
请问rk3308如何降低延迟,我现在测试得出的延迟达到了100ms,项目要求在10ms以内。arecord -D hw:0,0 --period-size=192 --buffer-size=384 -r 48000 -c 2 -f S16_LE -t raw | aplay -D hw:7,0 -t raw --period-size=192 --buffer-size=384 -r 48000 -c 2 -f S16_LE,示波器抓到的波形显示延迟达到了100ms。附件是开机信息。

Serial-COM3-2019-03 -26-15.zip

11.12 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

开机信息

回复

使用道具 举报

121

积分

0

威望

0

贡献

技术小白

积分
121
发表于 2019-3-26 16:49:50        只看该作者  沙发
开机信息在这贴一下,没想到附件下载会丢经验。。。
[16:36:19]U-Boot TPL 2017.09-g88aebe4 V1.24
[16:36:19]REGFB: 0x00000030, 0x00000030
[16:36:19]In
[16:36:19]589MHz
[16:36:19]DDR3
[16:36:19] Col=10 Bank=8 Row=14 Size=256MB
[16:36:19]msch:1
[16:36:19]Returning to boot ROM...
[16:36:19]Boot1 Release Time: Oct  8 2018 09:28:24, version: 1.08
[16:36:19]chip_id:000000,0
[16:36:19]ChipType = 0x13, 35791043
[16:36:19]DPLL = 1300 MHz
[16:36:19]sfc nor id: ff ff ff
[16:36:19]sfc_nand_init
[16:36:19]DPLL = 1300 MHz
[16:36:19]sfc_nand id: ff ff ff
[16:36:19]DPLL = 1300 MHz
[16:36:19]No.1 FLASH ID:ec da 10 95 46 c6
[16:36:19]SFTL version: 5.0.48 20180930
[16:36:19]SdmmcInit=0 NOT PRESENT
[16:36:19]StorageInit ok = 35669186
[16:36:19]SecureMode = 0
[16:36:19]Secure read PBA: 0x4
[16:36:19]Secure read PBA: 0x104
[16:36:19]Secure read PBA: 0x204
[16:36:19]Secure read PBA: 0x304
[16:36:19]Secure read PBA: 0x404
[16:36:19]SecureInit ret = 0, SecureMode = 0
[16:36:19]GPT part:  0, name:            uboot, start:0x2000, size:0x1000
[16:36:19]GPT part:  1, name:            trust, start:0x3000, size:0x1000
[16:36:19]GPT part:  2, name:             misc, start:0x4000, size:0x800
[16:36:19]GPT part:  3, name:         recovery, start:0x4800, size:0x6000
[16:36:19]GPT part:  4, name:             boot, start:0xa800, size:0x4800
[16:36:19]GPT part:  5, name:           rootfs, start:0xf000, size:0x14000
[16:36:19]GPT part:  6, name:              oem, start:0x23000, size:0xd000
[16:36:19]GPT part:  7, name:         userdata, start:0x30000, size:0x437df
[16:36:19]find partition:uboot OK. first_lba:0x2000.
[16:36:19]find partition:trust OK. first_lba:0x3000.
[16:36:19]LoadTrust Addr:0x3000
[16:36:19]No find bl30.bin
[16:36:19]No find bl32.bin
[16:36:19]Load uboot, ReadLba = 2000
[16:36:19]Load OK, addr=0x600000, size=0x92c04
[16:36:19]RunBL31 0x10000
[16:36:19]NOTICE:  BL31: v1.3(release):005c64b
[16:36:19]NOTICE:  BL31: Built : 09:44:10, Aug 24 2018
[16:36:19]INFO:    Lastlog: last=0x100000, realtime=0x102000, size=0x2000
[16:36:19]NOTICE:  BL31:Rockchip release version: v1.0
[16:36:19]INFO:    ARM GICv2 driver initialized
[16:36:19]INFO:    Using opteed sec cpu_context!
[16:36:19]INFO:    boot cpu mask: 1
[16:36:19]INFO:    plat_rockchip_pmu_init: pd status 0xe
[16:36:19]INFO:    BL31: Initializing runtime services
[16:36:19]WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
[16:36:19]ERROR:   Error initializing runtime service opteed_fast
[16:36:19]INFO:    BL31: Preparing for EL3 exit to normal world
[16:36:19]INFO:    Entry point address = 0x600000
[16:36:19]INFO:    SPSR = 0x3c9
[16:36:20]
[16:36:20]
[16:36:20]U-Boot 2017.09 (Mar 11 2019 - 15:38:51 +0800)
[16:36:20]
[16:36:20]Model: Rockchip RK3308 EVB
[16:36:20]DRAM:  254 MiB
[16:36:20]Relocation Offset is: 0f925000
[16:36:20]pwm-regulator(vdd-core): init 1044000 uV
[16:36:20]regulator(vdd-core) init 1044000 uV
[16:36:20]MMC:   dwmmc@ff490000: 0
[16:36:20]Using default environment
[16:36:20]
[16:36:20]In:    serial@ff0c0000
[16:36:20]Out:   serial@ff0c0000
[16:36:20]Err:   serial@ff0c0000
[16:36:20]Model: Rockchip RK3308 EVB
[16:36:20]MMC Device 1 not found
[16:36:20]no mmc device at slot 1
[16:36:20]Card did not respond to voltage select!
[16:36:20]mmc_init: -95, time 9
[16:36:20]
[16:36:20]Device 0: No.1 FLASH ID:ec da 10 95 46 c6
[16:36:20]SFTL version: 5.0.48 20180930
[16:36:20]...FtlVpcCheckAndModify enter...
[16:36:20]FtlGcRefreshBlock  0x103
[16:36:20]FtlGcRefreshBlock  0xfc
[16:36:20]Vendor: 0x0308 Rev: V1.00 Prod: rkflash-NandFlash
[16:36:20]            Type: Hard Disk
[16:36:20]            Capacity: 231.0 MB = 0.2 GB (473088 x 512)
[16:36:20]... is now current device
[16:36:20]boot mode: None
[16:36:20]CLK:
[16:36:20]apll 816000 KHz
[16:36:20]dpll 1300000 KHz
[16:36:20]vpll0 1179647 KHz
[16:36:20]vpll1 903167 KHz
[16:36:20]aclk_bus 185714 KHz
[16:36:20]hclk_bus 100000 KHz
[16:36:20]pclk_bus 100000 KHz
[16:36:20]aclk_peri 185714 KHz
[16:36:20]hclk_peri 100000 KHz
[16:36:20]pclk_peri 100000 KHz
[16:36:20]hclk_audio 98303 KHz
[16:36:20]pclk_audio 98303 KHz
[16:36:20]Net:   Net Initialization Skipped
[16:36:20]No ethernet found.
[16:36:20]Hit any key to stop autoboot:  0
[16:36:20]ANDROID: reboot reason: "(none)"
[16:36:20]FDT load addr 0x10f00000 size 252 KiB
[16:36:20]Booting kernel at 0x4080000 with fdt at 4476000...
[16:36:20]
[16:36:20]
[16:36:20]## Booting Android Image at 0x04080000 ...
[16:36:20]Kernel load addr 0x02080000 size 4051 KiB
[16:36:20]## Flattened Device Tree blob at 04476000
[16:36:20]   Booting using the fdt blob at 0x4476000
[16:36:20]   Uncompressing Kernel Image ... OK
[16:36:20]   Loading Device Tree to 000000000f501000, end 000000000f513ec1 ... OK
[16:36:20]Adding bank: start=0x00200000, size=0x0fe00000
[16:36:20]
[16:36:20]Starting kernel ...
[16:36:20]
[16:36:20]
[16:36:20][    0.000000] Booting Linux on physical CPU 0x0
[16:36:20][    0.000000] Linux version 4.4.143 (vhd5floor@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #2 SMP PREEMPT Mon Feb 18 14:50:01 CST 2019
[16:36:20][    0.000000] Boot CPU: AArch64 Processor [410fd042]
[16:36:20][    0.000000] earlycon: Early serial console at MMIO32 0xff0c0000 (options '')
[16:36:20][    0.000000] bootconsole [uart0] enabled
[16:36:20][    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[16:36:20][    0.000000] psci: probing for conduit method from DT.
[16:36:20][    0.000000] psci: PSCIv1.0 detected in firmware.
[16:36:20][    0.000000] psci: Using standard PSCI v0.2 function IDs
[16:36:20][    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[16:36:20][    0.000000] PERCPU: Embedded 18 pages/cpu @ffffffc00ff59000 s35992 r8192 d29544 u73728
[16:36:20][    0.000000] Detected VIPT I-cache on CPU0
[16:36:20][    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64008
[16:36:20][    0.000000] Kernel command line: storagemedia=nand androidboot.slot_suffix= androidboot.serialno=c3d9b8674f4b94f6  rootwait earlycon=uart8250,mmio32,0xff0c0000 swiotlb=1 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=squashfs snd_aloop.index=7
[16:36:20][    0.000000] PID hash table entries: 1024 (order: 1, 8192 bytes)
[16:36:20][    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
[16:36:20][    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
[16:36:20][    0.000000] software IO TLB [mem 0x0feb9000-0x0fef9000] (0MB) mapped at [ffffffc00feb9000-ffffffc00fef8fff]
[16:36:20][    0.000000] Memory: 246468K/260096K available (5118K kernel code, 372K rwdata, 1756K rodata, 320K init, 493K bss, 13628K reserved, 0K cma-reserved)
[16:36:20][    0.000000] Virtual kernel memory layout:
[16:36:20][    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[16:36:20][    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[16:36:20][    0.000000]       .init : 0xffffff8008740000 - 0xffffff8008790000   (   320 KB)
[16:36:20][    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008580000   (  5120 KB)
[16:36:20][    0.000000]     .rodata : 0xffffff8008580000 - 0xffffff8008740000   (  1792 KB)
[16:36:20][    0.000000]       .data : 0xffffff8008790000 - 0xffffff80087ed008   (   373 KB)
[16:36:20][    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[16:36:20][    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[16:36:20][    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc010000000   (   254 MB)
[16:36:20][    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[16:36:20][    0.000000] Preemptible hierarchical RCU implementation.
[16:36:20][    0.000000]  Build-time adjustment of leaf fanout to 64.
[16:36:20][    0.000000] NR_IRQS:64 nr_irqs:64 0
[16:36:20][    0.000000] GIC: Using split EOI/Deactivate mode
[16:36:20][    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[16:36:20][    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[16:36:20][    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[16:36:20][    0.001727] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[16:36:20][    0.002677] pid_max: default: 32768 minimum: 301
[16:36:20][    0.003222] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[16:36:20][    0.003824] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[16:36:20][    0.005243] sched-energy: CPU device node has no sched-energy-costs
[16:36:20][    0.005858] Invalid sched_group_energy for CPU0
[16:36:20][    0.006276] CPU0: update cpu_capacity 1024
[16:36:20][    0.006697] ASID allocator initialised with 65536 entries
[16:36:20][    0.016429] Detected VIPT I-cache on CPU1
[16:36:20][    0.016484] Invalid sched_group_energy for CPU1
[16:36:20][    0.016489] CPU1: update cpu_capacity 1024
[16:36:20][    0.016493] CPU1: Booted secondary processor [410fd042]
[16:36:20][    0.019445] Detected VIPT I-cache on CPU2
[16:36:20][    0.019481] Invalid sched_group_energy for CPU2
[16:36:20][    0.019486] CPU2: update cpu_capacity 1024
[16:36:20][    0.019490] CPU2: Booted secondary processor [410fd042]
[16:36:20][    0.022486] Detected VIPT I-cache on CPU3
[16:36:20][    0.022521] Invalid sched_group_energy for CPU3
[16:36:20][    0.022525] CPU3: update cpu_capacity 1024
[16:36:20][    0.022529] CPU3: Booted secondary processor [410fd042]
[16:36:20][    0.022598] Brought up 4 CPUs
[16:36:20][    0.027806] SMP: Total of 4 processors activated.
[16:36:20][    0.028247] CPU: All CPU(s) started at EL2
[16:36:20][    0.028752] Invalid sched_group_energy for CPU3
[16:36:20][    0.029174] Invalid sched_group_energy for Cluster3
[16:36:20][    0.029621] Invalid sched_group_energy for CPU2
[16:36:20][    0.030051] Invalid sched_group_energy for Cluster2
[16:36:20][    0.030500] Invalid sched_group_energy for CPU1
[16:36:20][    0.030916] Invalid sched_group_energy for Cluster1
[16:36:20][    0.031375] Invalid sched_group_energy for CPU0
[16:36:20][    0.031792] Invalid sched_group_energy for Cluster0
[16:36:20][    0.032783] devtmpfs: initialized
[16:36:20][    0.050879] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[16:36:20][    0.051816] futex hash table entries: 1024 (order: 4, 65536 bytes)
[16:36:20][    0.052758] pinctrl core: initialized pinctrl subsystem
[16:36:20][    0.054287] NET: Registered protocol family 16
[16:36:20][    0.059511] cpuidle: using governor menu
[16:36:20][    0.059914] Registered FIQ tty driver
[16:36:20][    0.060487] vdso: 2 pages (1 code @ ffffff8008586000, 1 data @ ffffff8008794000)
[16:36:20][    0.061214] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[16:36:20][    0.062033] DMA: preallocated 256 KiB pool for atomic allocations
[16:36:20][    0.065490] console [pstore-1] enabled
[16:36:20][    0.065858] pstore: Registered ramoops as persistent store backend
[16:36:20][    0.066430] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[16:36:20][    0.084109] fiq debugger fiq mode enabled
[16:36:20][[    0.084870] console [ttyFIQ0] enabled
[16:36:20]    0.084870] console [ttyFIQ0] enabled
[16:36:20][    0.085563] bootconsole [uart0] disabled
[16:36:20][    0.085563] bootconsole [uart0] disabled
[16:36:20][    0.086178] Registered fiq debugger ttyFIQ0
[16:36:20]WARNING: suspend_mode_handler: Not support call: 0x4
[16:36:20][    0.098998] vcc_1v8: regulator get failed, ret=-517
[16:36:20][    0.099899] vcc_1v8_codec: regulator get failed, ret=-517
[16:36:20][    0.100731] vcc_1v8: supplied by vcc_io
[16:36:20][    0.100875] vcc_1v8_codec: supplied by vcc_io
[16:36:20][    0.104165] Advanced Linux Sound Architecture Driver Initialized.
[16:36:20][    0.104843] Bluetooth: Core ver 2.21
[16:36:20][    0.104931] NET: Registered protocol family 31
[16:36:20][    0.104950] Bluetooth: HCI device and connection manager initialized
[16:36:20][    0.104971] Bluetooth: HCI socket layer initialized
[16:36:20][    0.104989] Bluetooth: L2CAP socket layer initialized
[16:36:20][    0.105029] Bluetooth: SCO socket layer initialized
[16:36:20][    0.106131] rockchip-cpuinfo cpuinfo: Serial         : 0000000000000000
[16:36:20][    0.106689] clocksource: Switched to clocksource arch_sys_counter
[16:36:20][    0.109130] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[16:36:20][    0.109468] NET: Registered protocol family 2
[16:36:20][    0.110156] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[16:36:20][    0.110211] TCP bind hash table entries: 2048 (order: 3, 32768 bytes)
[16:36:20][    0.110273] TCP: Hash tables configured (established 2048 bind 2048)
[16:36:20][    0.110358] UDP hash table entries: 256 (order: 1, 8192 bytes)
[16:36:20][    0.110389] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[16:36:20][    0.110594] NET: Registered protocol family 1
[16:36:20][    0.111439] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[16:36:20][    0.122730] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[16:36:20][    0.125864] io scheduler noop registered (default)
[16:36:20][    0.127005] phy phy-ff008000.syscon:usb2-phy@100.0: Failed to get VBUS supply regulator
[16:36:20][    0.131077] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[16:36:20][    0.131126] dma-pl330 ff2c0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[16:36:20][    0.133552] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[16:36:20][    0.133594] dma-pl330 ff2d0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[16:36:20][    0.133951] rockchip-pvtm ff000000.grf:pmu-pvtm: failed to get rst 0 pmu
[16:36:20][    0.134109] rockchip-pvtm ff00c000.syscon:pvtm: failed to get rst 0 core
[16:36:20][    0.135572] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[16:36:20][    0.137923] ff0e0000.serial: ttyS4 at MMIO 0xff0e0000 (irq = 12, base_baud = 6770833) is a 16550A
[16:36:20][    0.139801] [drm] Initialized drm 1.1.0 20060810
[16:36:20][    0.139950] random: nonblocking pool is initialized
[16:36:20][    0.142341] Unable to detect cache hierarchy for CPU 0
[16:36:20][    0.142892] Rockchip WiFi SYS interface (V1.00) ...
[16:36:20][    0.143287] ff400000.usb supply vusb_d not found, using dummy regulator
[16:36:20][    0.143377] ff400000.usb supply vusb_a not found, using dummy regulator
[16:36:20][    0.145606] dwc2 ff400000.usb: Configuration mismatch. dr_mode forced to device
[16:36:20][    0.145647] dwc2 ff400000.usb: 128 invalid for host_nperio_tx_fifo_size. Check HW configuration.
[16:36:20][    0.145668] dwc2 ff400000.usb: 256 invalid for host_perio_tx_fifo_size. Check HW configuration.
[16:36:20][    0.145735] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[16:36:20][    0.146966] i2c /dev entries driver
[16:36:20][    0.148090] rk3x-i2c ff050000.i2c: Initialized RK3xxx I2C bus at ffffff80088a6000
[16:36:20][    0.150784] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[16:36:20][    0.151010] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[16:36:20][    0.151533] Bluetooth: HCI UART driver ver 2.3
[16:36:20][    0.151556] Bluetooth: HCI UART protocol H4 registered
[16:36:20][    0.151568] Bluetooth: HCI UART protocol LL registered
[16:36:20][    0.151844] cpu cpu0: leakage=0
[16:36:20][    0.152074] cpu cpu0: Failed to get pvtm
[16:36:20][    0.154645] Synopsys Designware Multimedia Card Interface Driver
[16:36:20][    0.155675] dwmmc_rockchip ff4a0000.dwmmc: num-slots property not found, assuming 1 slot is available
[16:36:20][    0.155856] dwmmc_rockchip ff4a0000.dwmmc: IDMAC supports 32-bit address mode.
[16:36:20][    0.155903] dwmmc_rockchip ff4a0000.dwmmc: Using internal DMA controller.
[16:36:20][    0.155926] dwmmc_rockchip ff4a0000.dwmmc: Version ID is 270a
[16:36:20][    0.155994] dwmmc_rockchip ff4a0000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[16:36:20][    0.156073] dwmmc_rockchip ff4a0000.dwmmc: No vmmc regulator found
[16:36:20][    0.156095] dwmmc_rockchip ff4a0000.dwmmc: No vqmmc regulator found
[16:36:20][    0.156456] dwmmc_rockchip ff4a0000.dwmmc: allocated mmc-pwrseq
[16:36:20][    0.167792] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[16:36:20][    0.178805] dwmmc_rockchip ff4a0000.dwmmc: 1 slots initialized
[16:36:20][    0.179540] is31fl32xx 1-003f: register write to 0x00 failed (error -6),val=0
[16:36:21][    0.223768] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[16:36:21][    0.225378] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[16:36:21][    0.226990] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[16:36:21][    0.229862] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[16:36:21][    0.230834] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[16:36:21][    0.279773] is31fl32xx 1-003f: register write to 0x00 failed (error -6),val=0
[16:36:21][    0.286190] mmc_host mmc0: Bus speed (slot 0) = 147456000Hz (slot req 150000000Hz, actual 147456000HZ div = 0)
[16:36:21][    0.380875] is31fl32xx 1-003f: register write to 0x00 failed (error -6),val=0
[16:36:21][    0.481960] is31fl32xx_init_regs, write to shutdown register failed
[16:36:21][    0.482137] is31fl32xx 1-003f: register write to 0x26 failed (error -6),val=1
[16:36:21][    0.529428] dwmmc_rockchip ff4a0000.dwmmc: Successfully tuned phase to 216
[16:36:21][    0.532432] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[16:36:21][    0.532517] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[16:36:21][    0.582965] is31fl32xx 1-003f: register write to 0x26 failed (error -6),val=1
[16:36:21][    0.683942] is31fl32xx 1-003f: register write to 0x26 failed (error -6),val=1
[16:36:21][    0.785445] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[16:36:21][    0.785915] rockchip-dmc dmc: Failed to get leakage
[16:36:21][    0.786104] rockchip-dmc dmc: Failed to get pvtm
[16:36:21][    0.786657] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[16:36:21][    0.786746] rockchip-dmc dmc: don't add devfreq feature
[16:36:21][    0.790198] rknandc_base v1.1 2017-01-11
[16:36:21][    0.790835] rknandc ff4b0000.nandc: rknandc_probe clk rate = 147456000
[16:36:21][    0.790953] rkflash_dev_init
[16:36:21][    0.790985] init rkflash[0]
[16:36:21][    0.791048] SFTL version: 5.0.48 20180930
[16:36:21][    0.849545] ...FtlVpcCheckAndModify enter...
[16:36:21][    0.874088] FtlCheckVpc e5 = 80  0
[16:36:21][    0.874108] FtlCheckVpc fb = 80  0
[16:36:21][    0.875459] rkflash[0] init success
[16:36:21][    0.875866] rkflashd vendor storage init ok !
[16:36:21][    1.049008]  rkflash0: p1 p2 p3 p4 p5 p6 p7 p8
[16:36:21][    1.050532] rksfc_base v1.1 2016-01-08
[16:36:21][    1.054161] rk3308-acodec ff560000.acodec: Don't need pa-drv gpio
[16:36:21][    1.054193] rk3308-acodec ff560000.acodec: De-pop as much as possible
[16:36:21][    1.054764] 1-001a supply AVDD not found, using dummy regulator
[16:36:21][    1.054865] 1-001a supply DVDD not found, using dummy regulator
[16:36:21][    1.054900] 1-001a supply PVDD_A not found, using dummy regulator
[16:36:21][    1.054933] 1-001a supply PVDD_B not found, using dummy regulator
[16:36:21][    1.054967] 1-001a supply PVDD_C not found, using dummy regulator
[16:36:21][    1.055008] 1-001a supply PVDD_D not found, using dummy regulator
[16:36:21][    1.055168] tas571x 1-001a: error requesting pdn_gpio: -16
[16:36:21][    1.055372] tas571x: probe of 1-001a failed with error -16
[16:36:21][    1.058041] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again
[16:36:21][    1.058078] rk-multicodecs bluetooth-sound: check_lock_card failed: -517
[16:36:21][    1.129226] rk-multicodecs vad-acodec-sound: multicodec <-> ff320000.i2s mapping ok
[16:36:21][    1.130287] input: rockchip,rk3308-vad Headphones as /devices/platform/vad-acodec-sound/sound/card0/input0
[16:36:21][    1.131479] NET: Registered protocol family 10
[16:36:21][    1.132511] NET: Registered protocol family 17
[16:36:21][    1.132575] NET: Registered protocol family 15
[16:36:21][    1.132730] Bluetooth: RFCOMM TTY layer initialized
[16:36:21][    1.132750] Bluetooth: RFCOMM socket layer initialized
[16:36:21][    1.132779] Bluetooth: RFCOMM ver 1.11
[16:36:21][    1.132798] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[16:36:21][    1.132812] Bluetooth: HIDP socket layer initialized
[16:36:21][    1.132826] [WLAN_RFKILL]: Enter rfkill_wlan_init
[16:36:21][    1.133286] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[16:36:21][    1.133316] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6255
[16:36:21][    1.133324] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[16:36:21][    1.133332] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[16:36:21][    1.133397] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 0, flags = 1.
[16:36:21][    1.133411] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[16:36:21][    1.133418] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[16:36:21][    1.133430] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[16:36:21][    1.133494] [BT_RFKILL]: Enter rfkill_rk_init
[16:36:21][    1.133878] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 135.
[16:36:21][    1.133912] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 139.
[16:36:21][    1.133952] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 140.
[16:36:21][    1.133964] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[16:36:21][    1.134023] [BT_RFKILL]: Request irq for bt wakeup host
[16:36:21][    1.134081] [BT_RFKILL]: ** disable irq
[16:36:21][    1.134234] [BT_RFKILL]: bt_default device registered.
[16:36:21][    1.134524] flash vendor_init_thread!
[16:36:21][    1.134541] flash vendor storage:20170308 ret = -1
[16:36:21][    1.136134] input: adc-keys as /devices/platform/adc-keys/input/input1
[16:36:21][    1.137881] rk-multicodecs bluetooth-sound: dummy_codec <-> ff350000.i2s mapping ok
[16:36:21][    1.138836] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.2 (r)
[16:36:21][    1.138864] ======== dhd_wlan_init_plat_data ========
[16:36:21][    1.138872] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1
[16:36:21][    1.138880] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1
[16:36:21][    1.138888] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[16:36:21][    1.138898] dhd_wlan_init_gpio: host_oob_irq: 34
[16:36:21][    1.138906] dhd_wlan_init_gpio: host_oob_irq_flags=0x418
[16:36:21][    1.138913] dhd_wifi_platform_load: Enter
[16:36:21][    1.138970] Power-up adapter 'DHD generic adapter'
[16:36:21][    1.139219] wifi_platform_set_power = 1
[16:36:21][    1.139238] ======== PULL WL_REG_ON(-1) HIGH! ========
[16:36:21][    1.139246] [WLAN_RFKILL]: rockchip_wifi_power: 1
[16:36:21][    1.139255] [WLAN_RFKILL]: wifi turn on power. -1
[16:36:21][    1.139573] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[16:36:21][    1.140022] hctosys: unable to open rtc device (rtc0)
[16:36:21][    1.149767] vcc_sd: disabling
[16:36:21][    1.149806] vbus_host: disabling
[16:36:21][    1.149819] vccio_sd: disabling
[16:36:21][    1.150122] ALSA device list:
[16:36:21][    1.150136]   #0: rockchip,rk3308-vad
[16:36:21][    1.150143]   #1: rockchip,rk3308-pcm
[16:36:21][    1.150150]   #7: Loopback 1
[16:36:21][    1.166718] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[16:36:21][    1.177528] devtmpfs: mounted
[16:36:21][    1.177793] Freeing unused kernel memory: 320K
[16:36:22]mount: mounting /dev/block/by-name/misc on /misc failed: No such file or directory
[16:36:22]mount: mounting /dev/block/by-name/oem on /oem failed: No such file or directory
[16:36:22]mount: mounting /dev/block/by-name/userdata on /userdata failed: No such file or directory
[16:36:22]Starting logging: OK
[16:36:22]Populating /dev using udev: [    1.439764] wifi_platform_bus_enumerate device present 1
[16:36:22][    1.439802] ======== Card detection to detect SDIO card! ========
[16:36:22][    1.439814] mmc0:mmc host rescan start!
[16:36:22][    1.455986] bcmsdh_register: register client driver
[16:36:22][    1.456144] bcmsdh_sdmmc_probe: Enter num=1
[16:36:22][    1.456222] bcmsdh_sdmmc_probe: Enter num=2
[16:36:22][    1.456233] bus num (host idx)=0, slot num (rca)=1
[16:36:22][    1.456243] found adapter info 'DHD generic adapter'
[16:36:22][    1.456287] sdioh_attach: set sd_f2_blocksize 256
[16:36:22][    1.456322] sdioh_attach: sd clock rate = 0
[16:36:22][    1.456518] F1 signature read @0x18000000=0x15264345
[16:36:22][    1.458851] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2
[16:36:22][    1.459255] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[16:36:22][    1.459356] dhd_conf_set_chiprev: chip=0x4345, chiprev=6
[16:36:22][    1.459875] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
[16:36:22][    1.461038] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
[16:36:22][    1.461284] wl_escan_attach: Enter
[16:36:22][    1.461345] wl_escan_init: Enter
[16:36:22][    1.461434] wl_create_event_handler(): thread:wl_escan_handler:86 started
[16:36:22][    1.461438] tsk Enter, tsk = 0xffffffc00e190180
[16:36:22][    1.461651] dhd_attach(): thread:dhd_watchdog_thread:87 started
[16:36:22][    1.461956] dhd_attach(): thread:dhd_dpc:88 started
[16:36:22][    1.462042] dhd_attach(): thread:dhd_rxf:89 started
[16:36:22][    1.462063] dhd_deferred_work_init: work queue initialized
[16:36:22][    1.462117] dhd_bus_set_default_min_res_mask: Unhandled chip id
[16:36:22][    1.462329] sdioh_cis_read: func_cis_ptr[0]=0x10ac
[16:36:22][    1.470205] Dongle Host Driver, version 1.579.77.41.2 (r)
[16:36:22][    1.471101] Register interface [wlan0]  MAC: 80:c5:f2:2e:e8:33
[16:36:22][    1.471101]
[16:36:22][    1.471229] dhd_wl_ioctl: returning as busstate=0
[16:36:22][    1.471247] dhd_dbg_detach_pkt_monitor, 2204
[16:36:22][    1.471257] dhd_bus_devreset: == Power OFF ==
[16:36:22][    1.471456] bcmsdh_oob_intr_unregister: Enter
[16:36:22][    1.471473] bcmsdh_oob_intr_unregister: irq is not registered
[16:36:22][    1.471489] dhd_txglom_enable: enable 0
[16:36:22][    1.471501] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, bus_txglom=-1
[16:36:22][    1.471511] dhd_conf_set_txglom_params: tx_in_rx=1, txinrx_thres=-1, dhd_txminmax=1
[16:36:22][    1.471521] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=5
[16:36:22][    1.471531] sdioh_set_mode: set txglom_mode to copy
[16:36:22][    1.471539] dhd_bus_devreset:  WLAN OFF DONE
[16:36:22][    1.471573] wifi_platform_set_power = 0
[16:36:22][    1.471584] ======== PULL WL_REG_ON(-1) LOW! ========
[16:36:22][    1.471594] [WLAN_RFKILL]: rockchip_wifi_power: 0
[16:36:22][    1.471614] [WLAN_RFKILL]: wifi shut off power.
[16:36:22][    1.471808] dhd_module_init: Exit err=0
[16:36:22][    1.473619] udevd[131]: starting version 3.2.5
[16:36:22][    1.510668] udevd[138]: starting eudev-3.2.5
[16:36:22]done
[16:36:22]read-only file system detected...done
[16:36:22]Will now resize all file systems of types ext2,ext3,ext4,vfat,ntfs
[16:36:22]Log saved to /tmp/resizefs.log
[16:36:22]Will now check all file systems of types ext2,ext3,ext4,vfat,ntfs
[16:36:22]fsck 1.43.9 (8-Feb-2018)
[16:36:22]e2fsck 1.43.9 (8-Feb-2018)
[16:36:22]/dev/block/by-name/oem was not cleanly unmounted, check forced.
[16:36:22]Pass 1: Checking inodes, blocks, and sizes
[16:36:22]Pass 2: Checking directory structure
[16:36:22]Pass 3: Checking directory connectivity
[16:36:22]Pass 4: Checking reference counts
[16:36:22]Pass 5: Checking group summary information
[16:36:22]/dev/block/by-name/oem: 23/880 files (4.3% non-contiguous), 18405/26624 blocks
[16:36:22]e2fsck 1.43.9 (8-Feb-2018)
[16:36:22]/dev/block/by-name/userdata was not cleanly unmounted, check forced.
[16:36:22]Pass 1: Checking inodes, blocks, and sizes
[16:36:23]Pass 2: Checking directory structure
[16:36:23]Pass 3: Checking directory connectivity
[16:36:23]Pass 4: Checking reference counts
[16:36:23]Pass 5: Checking group summary information
[16:36:23]/dev/block/by-name/userdata: 31/34680 files (0.0% non-contiguous), 6001/138220 blocks
[16:36:23]Log saved to /tmp/checkfs.log
[16:36:23]Will now mount all file systems of types ext2,ext3,ext4,vfat,ntfs,proc,devpts,tmpfs,sysfs
[16:36:23]Log saved to /tmp/mountfs.log
[16:36:23]Starting system message bus: done
[16:36:23]Starting network: ip: RTNETLINK answers: File exists
[16:36:23]FAIL
[16:36:23]Starting dhcpcd...
[16:36:23]dev: loaded udev
[16:36:23][    2.526764] dhd_ioctl_entry: Interface is down
[16:36:23][    2.526816] Error getting the SSID
[16:36:23]no interfaces have a carrier
[16:36:23]forked to background, child pid 246
[16:36:23][    2.571319] dhd_open: Enter ffffffc00eca5800
[16:36:23][    2.571378]
[16:36:23][    2.571378] Dongle Host Driver, version 1.579.77.41.2 (r)
[16:36:23][    2.571395] wl_android_wifi_on in 1
[16:36:23][    2.571410] wl_android_wifi_on in 2: g_wifi_on=0
[16:36:23][    2.571421] wifi_platform_set_power = 1
[16:36:23][    2.571433] ======== PULL WL_REG_ON(-1) HIGH! ========
[16:36:23][    2.571446] [WLAN_RFKILL]: rockchip_wifi_power: 1
[16:36:23][    2.571459] [WLAN_RFKILL]: wifi turn on power. -1
[16:36:23]Starting ntpd: OK
[16:36:23]Starting pulseaudio: [    2.871802] sdio_reset_comm():
[16:36:23]W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set.
[16:36:23]W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set.
[16:36:23]N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM m[ode.
[16:36:23]    2.886820] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[16:36:23]E: [pulseaudio] main.c: Daemon startup failed.
[16:36:23]OK
[16:36:23][    2.903821] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[16:36:23]mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mass_storage.0': No such file or directory
[16:36:23]/etc/init.d/S50usbdevice: line 46: can't create /sys/kernel/config/usb_gadget/rockchip/functions/mass_storage.0/lun.0/file: nonexistent directory
[16:36:23]ln: /sys/kernel/config/usb_gadget/rockchip/configs/b.1/f1: No such file or directory
[16:36:23][    2.929813] file system registered
[16:36:23]install_listener('tcp:5037','*smartsocket*')
[16:36:23][    2.950401] read descriptors
[16:36:23][    2.950454] read strings
[16:36:23][    2.971101] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[16:36:23][    2.977298] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[16:36:23][    2.983311] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[16:36:23][    2.994149] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[16:36:24][    3.217409] mmc_host mmc0: Bus speed (slot 0) = 147456000Hz (slot req 150000000Hz, actual 147456000HZ div = 0)
[16:36:24][    3.404436] dwmmc_rockchip ff4a0000.dwmmc: Successfully tuned phase to 216
[16:36:24][    3.404552] sdioh_start: set sd_f2_blocksize 256
[16:36:24][    3.405137]
[16:36:24][    3.405137]
[16:36:24][    3.405137] dhd_bus_devreset: == WLAN ON ==
[16:36:24][    3.405309] F1 signature read @0x18000000=0x15264345
[16:36:24][    3.409436] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2
[16:36:24][    3.410543] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[16:36:24][    3.410672] dhd_bus_set_default_min_res_mask: Unhandled chip id
[16:36:24][    3.411856] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt
[16:36:24][    3.411928] Final fw_path=/system/etc/firmware/fw_bcm43455c0_ag.bin
[16:36:24][    3.411951] Final nv_path=/system/etc/firmware/nvram_ap6255.txt
[16:36:24][    3.411971] Final clm_path=/system/etc/firmware/clm_bcmdhd.blob
[16:36:24][    3.411991] Final conf_path=/system/etc/firmware/config.txt
[16:36:24][    3.412013] dhd_set_bus_params: set use_rxchain 0
[16:36:24][    3.412035] dhd_set_bus_params: set txglomsize 36
[16:36:24][    3.412665] dhd_os_open_image: /system/etc/firmware/fw_bcm43455c0_ag.bin (519802 bytes) open success
[16:36:24][    3.544559] dhd_os_open_image: /system/etc/firmware/nvram_ap6255.txt (1924 bytes) open success
[16:36:24][    3.554547] NVRAM version:  Cloned from bcm94345wlpagb_p2xx.txt
[16:36:24][    3.555330] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[16:36:24][    3.638127] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[16:36:24][    3.638288] bcmsdh_oob_intr_register HW_OOB irq=34 flags=0x8
[16:36:24][    3.639025] dhd_get_memdump_info: File [/data/misc/wifi/.memdump.info] doesn't exist
[16:36:24][    3.639071] dhd_get_memdump_info: MEMDUMP ENABLED = 2
[16:36:24][    3.639621] Disable tdls_auto_op failed. -1
[16:36:24][    3.639645] dhd_preinit_ioctls: Set tcpack_sup_mode 0
[16:36:24][    3.639656] dhd_tcpack_suppress_set 352: already set to 0
[16:36:24][    3.640592] dhd_apply_default_clm: Ignore clm file /system/etc/firmware/clm_bcmdhd.blob
[16:36:24][    3.642235] Firmware up: op_mode=0x0005, MAC=80:c5:f2:2e:e8:33
[16:36:24][    3.642262] dhd_conf_set_country: set country CN, revision 38
[16:36:24][    3.665104] Country code: CN (CN/38)
[16:36:24][    3.665509] dhd_conf_set_intiovar: set roam_off 1
[16:36:24][    3.668767] dhd_preinit_ioctls Set scancache failed -23
[16:36:24][    3.678984]   Driver: 1.579.77.41.2 (r)
[16:36:24][    3.678984]   Firmware: wl0: Jul 19 2017 22:14:06 version 7.45.100.6 (r665936 CY) FWID 01-2425
[16:36:24][    3.678984]   CLM: 7.14.8
[16:36:24][    3.679386] dhd_txglom_enable: enable 1
[16:36:24][    3.679422] dhd_conf_set_txglom_params: txglomsize=36, deferred_tx_len=36, bus_txglom=-1
[16:36:24][    3.679462] dhd_conf_set_txglom_params: tx_in_rx=1, txinrx_thres=-1, dhd_txminmax=1
[16:36:24][    3.679486] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=5
[16:36:24][    3.679510] sdioh_set_mode: set txglom_mode to copy
[16:36:24][    3.679550] dhd_conf_get_disable_proptx: fw_proptx=1, disable_proptx=-1
[16:36:24][    3.682447] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[16:36:24][    3.682844] dhd_conf_set_intiovar: set ampdu_hostreorder 1
[16:36:24][    3.703621] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[16:36:24][    3.704619] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[16:36:24][    3.704674] dhd_rtt_init : FTM is not supported
[16:36:24][    3.704773] dhd_preinit_ioctls: SensorHub diabled 0
[16:36:24][    3.705505] dhd_preinit_ioctls failed to set ShubHub disable
[16:36:24][    3.706308] dhd_ndo_get_version: failed, retcode = -23
[16:36:24][    3.707179] dhd_wl_ioctl_get_intiovar: get int iovar wnm_bsstrans_resp failed, ERR -23
[16:36:24][    3.707225] failed to get wnm_bsstrans_resp
[16:36:24][    3.707916] failed to set WNM capabilities
[16:36:24][    3.707963] wl_android_wifi_on: Success
[16:36:24][    3.733744] dhd_open: Exit ret=0
[16:36:24][    3.953778] dwc2 ff400000.usb: bound driver configfs-gadget
[16:36:24]load wifi modules: /etc/init.d/S66load_wifi_modules: line 42: rk_wifi_init: not found
[16:36:24]FAIL
[16:36:24]Starting dnsmasq: OK
[16:36:24][    4.140742] vendor storage:20160801 ret = -1
[16:36:25]
[16:36:25]==========EQ/DRC process release version 1.22===============
[16:36:25]snd_pcm_open
[16:36:25]snd_pcm_hw_params_malloc
[16:36:25]snd_pcm_hw_params_any!
[16:36:25]snd_pcm_hw_params_set_access!
[16:36:25]snd_pcm_hw_params_set_format
[16:36:25]channels = 2
[16:36:25]bufferSize = 4096
[16:36:25]periodSize = 1024
[16:36:25]rate = 48000
[16:36:25] open record device done
[16:36:25]interleaved mode
[16:36:25]snd_pcm_hw_params_alloca
[16:36:25]interleaved mode
[16:36:25]format successed
[16:36:25]channels = 2
[16:36:25]write_bufferSize = 4096
[16:36:25]write_periodSize = 1024
[16:36:25]setting sampling rate (48000)
[16:36:25]============EQ/DRC Version 1.21==================
[16:36:25] open write device is successful
[16:36:25]para_name  = /data/cfg/eq_bin/Para_48000Hz_2ch.bin
[16:36:25]Playing WAVE '/usr/lib/silence.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[16:36:26]Successfully initialized wpa_supplicant
[16:36:26]/etc/init.d/S98_lunch_init: source: line 3: can't open '/data/cfg/rockchip_test/auto_reboot.sh'
[16:36:26]Starting input-event-daemon: input-event-daemon: Start listening on 3 devices...
[16:36:26]done
回复

使用道具 举报

888

积分

4

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
888
发表于 2019-3-27 16:25:34        只看该作者  板凳
延迟指的是?
回复

使用道具 举报

121

积分

0

威望

0

贡献

技术小白

积分
121
发表于 2019-3-27 17:59:56        只看该作者  地板

用麦克风录音,然后再从喇叭播放出来,这里的延迟指声音信号从喇叭进去到从喇叭出来的时间,简单的说就是示波器抓波,我说123,和录音再拨出来的123的时间差。
回复

使用道具 举报

121

积分

0

威望

0

贡献

技术小白

积分
121
发表于 2019-3-27 18:32:33        只看该作者  5#

用麦克风录音,然后再从喇叭播放出来,这里的延迟指声音信号从喇叭进去到从喇叭出来的时间,简单的说就是示波器抓波,我说123,和录音再拨出来的123的时间差。
回复

使用道具 举报

166

积分

1

威望

0

贡献

技术小白

积分
166
发表于 2019-3-28 09:40:08        只看该作者  6#
你试下将这两个--period-size=192 --buffer-size=384设置大一些
回复

使用道具 举报

121

积分

0

威望

0

贡献

技术小白

积分
121
发表于 2019-3-28 18:55:45        只看该作者  7#
飞神 发表于 2019-3-28 09:40
你试下将这两个--period-size=192 --buffer-size=384设置大一些

定位到问题点了,录播设备保持一致就没问题了,话说这个是什么原因呢?
回复

使用道具 举报

166

积分

1

威望

0

贡献

技术小白

积分
166
发表于 2019-3-28 19:38:42        只看该作者  8#
dma buff太小了,每次传输也小,导致传输速度变慢
回复

使用道具 举报

121

积分

0

威望

0

贡献

技术小白

积分
121
发表于 2019-3-29 14:38:05        只看该作者  9#
飞神 发表于 2019-3-28 19:38
dma buff太小了,每次传输也小,导致传输速度变慢

period-size越大中断间隔越大,延迟肯定越长。buffer越大越不易发生xrun,但延迟也会相应的增大。
回复

使用道具 举报

166

积分

1

威望

0

贡献

技术小白

积分
166
发表于 2019-3-30 16:39:23        只看该作者  10#
wjyfirefly 发表于 2019-3-29 14:38
period-size越大中断间隔越大,延迟肯定越长。buffer越大越不易发生xrun,但延迟也会相应的增大。

period-size越大中断间隔越大,这个结论怕是不能成立。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表