| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Next]](../image-lib/next.gif) | 
Convert a format member
#include <sys/asoundlib.h> const char * snd_pcm_get_format_name( int format );
libasound.so
The snd_pcm_get_format_name() function converts a format member or manifest of the form SND_PCM_SFMT_* to a text string suitable for displaying to a human user.
A char pointer to the text format name.
None.
See the example in Configuring the audio channel in the Playing audio data chapter.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Next]](../image-lib/next.gif) |