[ros-diffs] [nyadav] 51433: Add Audio Server Headers

nyadav at svn.reactos.org nyadav at svn.reactos.org
Fri Apr 22 17:27:41 UTC 2011


Author: nyadav
Date: Fri Apr 22 17:27:40 2011
New Revision: 51433

URL: http://svn.reactos.org/svn/reactos?rev=51433&view=rev
Log:
Add Audio Server Headers

Added:
    branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/   (with props)
    branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/audiosrv.h   (with props)

Propchange: branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Fri Apr 22 17:27:40 2011
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)

Propchange: branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/
------------------------------------------------------------------------------
    bugtraq:message = See issue #%BUGID% for more details.

Propchange: branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/
------------------------------------------------------------------------------
    bugtraq:url = http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%

Propchange: branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/
------------------------------------------------------------------------------
    tsvn:logminsize = 10

Added: branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/audiosrv.h
URL: http://svn.reactos.org/svn/reactos/branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/audiosrv.h?rev=51433&view=auto
==============================================================================
--- branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/audiosrv.h (added)
+++ branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/audiosrv.h [iso-8859-1] Fri Apr 22 17:27:40 2011
@@ -1,0 +1,47 @@
+#include <windows.h>
+#include <memory.h>
+
+#ifndef _PORTINTERFACE_H
+#define _PORTINTERFACE_H
+
+#define MIXER getmixerengine()
+
+typedef struct PortStream
+{
+	int volume;
+	double freq;
+	int channels;
+	int bitspersample;
+	DWORD channelmask;
+	HANDLE thread;
+	struct PortStream * next;
+} PortStream;
+
+typedef struct MixerEngine
+{
+	int mastervolume;
+	int mute;
+	char dead;
+	double masterfreq;
+	int masterchannels;
+	DWORD masterchannelmask;
+	int masterbitspersample;
+	int workingbuffer;
+	PSHORT masterdoublebuf[2];
+	HANDLE mixerthread;
+	HANDLE playerthread;
+	HANDLE EventPool[2];//0=Played,1=Ready
+	PortStream * portstream;
+} MixerEngine;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+__declspec(dllexport) MixerEngine * getmixerengine();
+
+#ifdef __cplusplus 
+}
+#endif
+
+#endif

Propchange: branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/audiosrv.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: branches/nyadav-audio-branch/include/reactos/libs/audiosrv2/audiosrv.h
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the Ros-diffs mailing list