Module Name: src Committed By: nat Date: Sun Mar 7 13:09:43 UTC 2021
Modified Files: src/usr.sbin/bta2dpd/bta2dpd: bta2dpd.8 bta2dpd.c Log Message: Intoduce "-n" switch. Running btat2dpd with "-n" especially for use with pad(4) will stop bta2dpd from exiting upon a read error from pad(4) devices. This is to compenstate for the behaviour in NetBSD current that pad(4) will no longer output 0's when its corresponding audio(4) device is not active. I believe that this new pad(4) behaviour is not present in -9 and -8. While here I've improved its function as a daemon and it should reconnect to bluetooth speakers when they are disconnected/reconnected. Reported and tested by reinoud@ and maya@ To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/bta2dpd/bta2dpd/bta2dpd.8 cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/bta2dpd/bta2dpd/bta2dpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.