audio.c: avoid magic numbers even if they have comments :)
git-svn-id: https://svn.musicpd.org/mpd/trunk@7373 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		| @@ -27,7 +27,7 @@ | |||||||
| #include "os_compat.h" | #include "os_compat.h" | ||||||
|  |  | ||||||
| #define AUDIO_DEVICE_STATE	"audio_device_state:" | #define AUDIO_DEVICE_STATE	"audio_device_state:" | ||||||
| #define AUDIO_DEVICE_STATE_LEN	19	/* strlen(AUDIO_DEVICE_STATE) */ | #define AUDIO_DEVICE_STATE_LEN	(sizeof(AUDIO_DEVICE_STATE)-1) | ||||||
| #define AUDIO_BUFFER_SIZE	2*MPD_PATH_MAX | #define AUDIO_BUFFER_SIZE	2*MPD_PATH_MAX | ||||||
|  |  | ||||||
| static AudioFormat audio_format; | static AudioFormat audio_format; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Eric Wong
					Eric Wong