Triode wrote: > No need then... That's what I thought! ;)
Triode wrote: > > Let me look at that in more detail, we should probably make local copies > of the output struct params and the call decode_newstream without the > lock. Cool! Triode wrote: > > I never really looked at the performance of the resample versions on a > low performance cpu - I'll try on a pi and see if I see the same thing. Pi, you'll have to limit to "-r 96000". You won't have the "grunt" to get up to 192k. (And maybe have to force the ethernet port to 10M to get there. Been a while since I fiddled with that.) I'm kind of OK with where I seem to be at now with this BBB. This whole upsample in software and feed it into as NOS DAC is pretty much me alone, anyway. I never expected the BBB to get above 192k, based on my experiences with the BBW. I'm back to default stream:out buffer sizes and default ALSA buffer:period and without the creation of soxr process locking outbuf, things are just fine with 4x oversample. That's fine. Call it a day. 50% CPU load after the initial spike with 'v' quality. 35% with 'h'. It's OK. Actually, it's more than OK. Having been here once before and wanting to never go anywhere near that MUSB driver ever again, with Robert Nelsons 3 patches and use_dma=n, it's had a good workout today with 3 different USB DAC's/I2S converters. (Use DMA transfers in the USB driver and the kworker shoots straight up to 100% CPU as soon as the data starts flowing. ;)) I always wondered if this was ever going to get fixed with TI disbanding their OMAP develpment team. I guess I have my answer. It's now a year since I first had to disable DMA to even get a UAC2 DAC to work at all. And USB output was never the point of CS supporting the BBB, so 192k upsample USB out without glitches and XRUN's on a single core CPU, 35 quid piece of hardware, definitely take that as a win. Anyway, USB - tick. I2S - tick. Didn't get the uHDMI cable today. Just one more box to tick..... ------------------------------------------------------------------------ JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069 View this thread: http://forums.slimdevices.com/showthread.php?t=99395 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
