Author: akhaldi
Date: Mon Jan 13 12:45:14 2014
New Revision: 61603
URL:
http://svn.reactos.org/svn/reactos?rev=61603&view=rev
Log:
[AUDIOSRV]
* Remove one time inclusions from the main header and put them back where they belong.
* Improve the main header.
CORE-7716
Modified:
trunk/reactos/base/services/audiosrv/audiosrv.h
trunk/reactos/base/services/audiosrv/debug.c
trunk/reactos/base/services/audiosrv/pnp.c
trunk/reactos/base/services/audiosrv/pnp_list_lock.c
Modified: trunk/reactos/base/services/audiosrv/audiosrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/aud…
==============================================================================
--- trunk/reactos/base/services/audiosrv/audiosrv.h [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/audiosrv.h [iso-8859-1] Mon Jan 13 12:45:14 2014
@@ -7,16 +7,10 @@
*/
#include <stdarg.h>
+
#include <windef.h>
#include <winbase.h>
-#include <winreg.h>
-#include <winuser.h>
-#include <mmsystem.h>
-#include <assert.h>
-#include <setupapi.h>
-#include <ksmedia.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <malloc.h>
#include <dbt.h>
#include <audiosrv/audiosrv.h>
Modified: trunk/reactos/base/services/audiosrv/debug.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/deb…
==============================================================================
--- trunk/reactos/base/services/audiosrv/debug.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/debug.c [iso-8859-1] Mon Jan 13 12:45:14 2014
@@ -1,6 +1,8 @@
/* Service debugging (simply logs to a file) */
#include "audiosrv.h"
+
+#include <stdio.h>
void logmsg(char* string, ...)
{
Modified: trunk/reactos/base/services/audiosrv/pnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/pnp…
==============================================================================
--- trunk/reactos/base/services/audiosrv/pnp.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/pnp.c [iso-8859-1] Mon Jan 13 12:45:14 2014
@@ -8,8 +8,13 @@
#include "audiosrv.h"
+#include <winreg.h>
+#include <winuser.h>
+#include <mmsystem.h>
+#include <setupapi.h>
+#include <ksmedia.h>
+
static HDEVNOTIFY device_notification_handle = NULL;
-
/*
Finds all devices within the KSCATEGORY_AUDIO category and puts them
Modified: trunk/reactos/base/services/audiosrv/pnp_list_lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/pnp…
==============================================================================
--- trunk/reactos/base/services/audiosrv/pnp_list_lock.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/pnp_list_lock.c [iso-8859-1] Mon Jan 13 12:45:14
2014
@@ -7,6 +7,8 @@
*/
#include "audiosrv.h"
+
+#include <assert.h>
static HANDLE audio_device_list_lock = NULL;