Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2016 19:31:18 +0200
From:      Goran =?utf-8?B?TWVracSH?= <meka@tilda.center>
To:        freebsd-usb@freebsd.org
Subject:   snd_uaudio multichannel problems
Message-ID:  <20161010173118.4lff7phfx2zqm6wz@hal9000.meka.no-ip.org>

next in thread | raw e-mail | index | archive | help

--t7hf5uh4mxrenxii
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Hello,

I own 2 18ch audio interfaces, and both have the same symptoms described in https://lists.freebsd.org/pipermail/freebsd-questions/2016-October/273960.html. Since I wrote that mail, I did a little research. My hypotesis is that audio is 9 times faster as driver is handling 18 channels like they are 2. Also, if something for stereo stream is sent to all outputs, you expect to get some small and very high pitched output on all out jack, and I do. Also, playing with http://manuals.opensound.com/developer/singen.c.html revealed to me that if SNDCTL_DSP_CHANNELS is set to number different than the number of actual channels in a working stack (laptop and it's internal audio interface, in my case), you get difference in pitch and volume.

I didn't poke snd_uaudio code, yet, as I didn't do any kernel development before, but I'm affraid the number of kernel developers with multichannel audio interfaces is quite low, so I don't mind getting my hands dirty, but I'd love to get some advice before I attack this problem. Thank you!

Regards,
meka

--t7hf5uh4mxrenxii
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJX+9BjAAoJEFo9U5J6L6y26qEP/3X3Y5ktReKCGvRBj5jXe2lD
o4wSXNdnca4yLnG2jIkKHRSvjqMbaTk6u9PDjsKP0l7edO8foTQx74AoRFszXpcy
T2IsHXEZrQlfDMMGxDSPv0laLc9SsZgn0kGpCHpvFaEpfLa4/mUrPnpRcfNXpYHF
pHxXk0UzAHWQp6FWXaefEtB0u+XusjGkslYL47pA53283kdUY4wJ2Fm0DQzObuH9
PB6hAEv02FsLk2XYRUB+i0C5XQAwA7D+TiLDriEAmmDeFBK00TxW5MwyYIzjdRcf
ZbAy5P0lMNbFrtpFuPCjhugFNBKgrWrV7NiLGjGguMjqqiLX9Uv1J0PoDNqI27cp
E+LdpA7CzSo4mTIrHPtFwPE+TZxuarCIY0rb/xHo+ZixRaJsMNpSythsoCpFOP51
BCtQoKlzPC2XneWuKzlkIU2LgDqHWI8HbhBEFKFpY0ysCzyHQ/pvtgRVaE6idiuX
5EuOUO6Fp2G+9CxS25foENrZUT7nUEOcnTXfvqtiVGlp5o4gq01trTznOJGlfhfF
7Dcql9GyGp1sRxFpEpnsPCM+KxkVrpFMIaYhrEgfd/7xP7cxNxzByf9lSvZVxWPE
tqDIUk+zoPi/pkeDDO8Q6L6KwDfBVEhTDztx11Pkw/2QJyZkL4LGY/aleTuyDB8+
4pqWMJ2LI2PoV3gC76B+
=SRce
-----END PGP SIGNATURE-----

--t7hf5uh4mxrenxii--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161010173118.4lff7phfx2zqm6wz>