Module Name: src Committed By: martin Date: Sun Oct 19 15:22:00 UTC 2014
Modified Files: src/sys/arch/arm/broadcom [netbsd-7]: bcm2835_vcaudio.c src/sys/external/bsd/vchiq/dist/interface/vchiq_arm [netbsd-7]: vchiq_shim.c Log Message: Pull up following revision(s) (requested by skrll in ticket #151): sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_shim.c: revision 1.5 sys/arch/arm/broadcom/bcm2835_vcaudio.c: revision 1.4 sys/arch/arm/broadcom/bcm2835_vcaudio.c: revision 1.5 sys/arch/arm/broadcom/bcm2835_vcaudio.c: revision 1.6 sys/arch/arm/broadcom/bcm2835_vcaudio.c: revision 1.7 use a fixed frequency (48kHz) and configure the audio server at attach time, instead of at the beginning of playback improved playback error handling, and get rid of junk+silence insertion at the beginning of playback expose vchi_get_peer_version capture peer version; if less than 2, bail out as bulk mode is not supported. report the peer version with "audioctl version" Some improvements that make playback mostly reliable for me - the final piece of the jigaw is probably in vchiq: - prefill vchiq with a number (currently 2) blocks of audio before starting - use a kthread as workqueue isn't suited to our usage. - don't drain on stopping as for some reason it leaves data behind. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.4.1 src/sys/arch/arm/broadcom/bcm2835_vcaudio.c cvs rdiff -u -r1.4 -r1.4.2.1 \ src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_shim.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.