ksmedia.h revision b955672b950093ff7416d1269dd4d3b69983bd8f
072f0b86f23a38efb7454da3144cbce76805be76vboxsync/*
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * Copyright (C) 2004 Robert Reif
072f0b86f23a38efb7454da3144cbce76805be76vboxsync *
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * This library is free software; you can redistribute it and/or
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * modify it under the terms of the GNU Lesser General Public
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * License as published by the Free Software Foundation; either
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * version 2.1 of the License, or (at your option) any later version.
072f0b86f23a38efb7454da3144cbce76805be76vboxsync *
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * This library is distributed in the hope that it will be useful,
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * Lesser General Public License for more details.
072f0b86f23a38efb7454da3144cbce76805be76vboxsync *
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * You should have received a copy of the GNU Lesser General Public
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * License along with this library; if not, write to the Free Software
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
072f0b86f23a38efb7454da3144cbce76805be76vboxsync */
072f0b86f23a38efb7454da3144cbce76805be76vboxsync
072f0b86f23a38efb7454da3144cbce76805be76vboxsync/*
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * other than GPL or LGPL is available it will apply instead, Sun elects to use only
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * a choice of LGPL license versions is made available with the language indicating
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
072f0b86f23a38efb7454da3144cbce76805be76vboxsync * of the LGPL is applied is otherwise unspecified.
072f0b86f23a38efb7454da3144cbce76805be76vboxsync */
072f0b86f23a38efb7454da3144cbce76805be76vboxsync
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#ifndef _KS_
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#error must include ks.h before ksmedia.h
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#endif
072f0b86f23a38efb7454da3144cbce76805be76vboxsync
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#ifndef _KSMEDIA_
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#define _KSMEDIA_
072f0b86f23a38efb7454da3144cbce76805be76vboxsync
072f0b86f23a38efb7454da3144cbce76805be76vboxsyncDEFINE_GUID(KSDATAFORMAT_SUBTYPE_PCM, 0x00000001, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
072f0b86f23a38efb7454da3144cbce76805be76vboxsyncDEFINE_GUID(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
072f0b86f23a38efb7454da3144cbce76805be76vboxsync
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#define KSAUDIO_SPEAKER_DIRECTOUT 0
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#define KSAUDIO_SPEAKER_MONO SPEAKER_FRONT_CENTER
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#define KSAUDIO_SPEAKER_STEREO (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT)
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#define KSAUDIO_SPEAKER_QUAD (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT)
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#define KSAUDIO_SPEAKER_SURROUND (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_BACK_CENTER)
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#define KSAUDIO_SPEAKER_5POINT1 (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_LOWFREQUENCY | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT)
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#define KSAUDIO_SPEAKER_7POINT1 (KSAUDIO_SPEAKER_5POINT1 | SPEAKER_FRONT_LEFT_OF_CENTER | SPEAKER_FRONT_RIGHT_OF_CENTER)
072f0b86f23a38efb7454da3144cbce76805be76vboxsync
072f0b86f23a38efb7454da3144cbce76805be76vboxsync#endif /* _KSMEDIA_ */
072f0b86f23a38efb7454da3144cbce76805be76vboxsync