[alsa-devel] [PATCH] salsa-lib: Rename _sndrv_pcm_format to _snd_pcm_format

Mihail Zenkov mihail.zenkov at gmail.com
Sun Mar 17 16:01:04 CET 2013


Rename _sndrv_pcm_format to _snd_pcm_format for compatible with alsa-lib.

--- salsa-lib-a55ce0c348cd16e7853dae11e8e0e1b5a101d884/src/asound.h
+++ salsa-lib-a55ce0c348cd16e7853dae11e8e0e1b5a101d884-1/src/asound.h
@@ -133,7 +133,7 @@
 	SND_PCM_ACCESS_LAST = SND_PCM_ACCESS_RW_NONINTERLEAVED,
 } snd_pcm_access_t;

-typedef enum _sndrv_pcm_format {
+typedef enum _snd_pcm_format {
 	SND_PCM_FORMAT_UNKNOWN = -1,
 	SND_PCM_FORMAT_S8 = 0,	/* signed */
 	SND_PCM_FORMAT_U8,	/* unsigned */


More information about the Alsa-devel mailing list