With "pcm" as the iface parameter in snd_device_name_hint() this should not happen. Did you check out and pilfer the code from aplay.c as I suggested before?
Post minimal, compilable sources to show your issue and the output you get, please.
With "pcm" as the iface parameter in snd_device_name_hint() this should not happen. Did you check out and pilfer the code from aplay.c as I suggested before?
Post minimal, compilable sources to show your issue and the output you get, please.