OSDN Git Service

Add AUDIO_UID_INVALID
[android-x86/system-media.git] / audio / include / system / audio.h
index 0e2780c..e50d93e 100644 (file)
@@ -34,6 +34,9 @@ __BEGIN_DECLS
  * frameworks/base/include/media/AudioSystem.h
  */
 
+/* represents an invalid uid for tracks; the calling or client uid is often substituted. */
+#define AUDIO_UID_INVALID ((uid_t)-1)
+
 /* device address used to refer to the standard remote submix */
 #define AUDIO_REMOTE_SUBMIX_DEVICE_ADDRESS "0"