Not doing so leads to failures when creating sinks/sources for devices with more than about 8 channels or too long channel names. A "safety margin" of 20 characters is kept to allow for automatic deduplication (e.g., appending a string like ".<number>") or additional data (e.g., appending a string like ".data".) Signed-off-by: Mihai Moldovan <ionic at ionic.de> --- src/modules/macosx/module-coreaudio-device.c | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-module-coreaudio-device-respect-PA_NAME_MAX-length-f.patch Type: text/x-patch Size: 2313 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150420/e6b6dc41/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 884 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150420/e6b6dc41/attachment.sig>