audioclient.idl revision 930b5f872e89407f445d4000d4e4aaecaa6a0998
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Core Audio audioclient definitions
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright 2009 Maarten Lankhorst
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncimport "wtypes.idl";
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncimport "unknwn.idl";
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncimport "audiosessiontypes.h";
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/* Forward declarations */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef LONGLONG /*[hidden,restricted]*/ REFERENCE_TIME;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDIOCLOCK_CHARACTERISTIC_FIXED_FREQ 0x00000001")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_ERR(n) MAKE_HRESULT(SEVERITY_ERROR, FACILIY_AUDCLNT, n)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_SUCCESS(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILIY_AUDCLNT, n)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_NOT_INITIALIZED AUDCLNT_ERR(1)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_ALREADY_INITIALIZED AUDCLNT_ERR(2)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_WRONG_ENDPOINT_TYPE AUDCLNT_ERR(3)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_DEVICE_INVALIDATED AUDCLNT_ERR(4)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_NOT_STOPPED AUDCLNT_ERR(5)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_BUFFER_TOO_LARGE AUDCLNT_ERR(6)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_OUT_OF_ORDER AUDCLNT_ERR(7)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_UNSUPPORTED_FORMAT AUDCLNT_ERR(8)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_INVALID_SIZE AUDCLNT_ERR(9)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_DEVICE_IN_USE AUDCLNT_ERR(0x0a)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_BUFFER_OPERATION_PENDING AUDCLNT_ERR(0x0b)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_THREAD_NOT_REGISTERED AUDCLNT_ERR(0x0c)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/* Not defined? cpp_quote("#define AUDCLNT_E_UNKNOWN_XXX1 AUDCLNT_ERR(0x0d)") */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED AUDCLNT_ERR(0x0e)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_ENDPOINT_CREATE_FAILED AUDCLNT_ERR(0x0f)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_SERVICE_NOT_RUNNING AUDCLNT_ERR(0x10)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED AUDCLNT_ERR(0x11)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_EXCLUSIVE_MODE_ONLY AUDCLNT_ERR(0x12)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_BUFDURATION_PERIOD_NOT_EQUAL AUDCLNT_ERR(0x13)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_EVENTHANDLE_NOT_SET AUDCLNT_ERR(0x14)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_INCORRECT_BUFFER_SIZE AUDCLNT_ERR(0x15)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_BUFFER_SIZE_ERROR AUDCLNT_ERR(0x16)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_CPUUSAGE_EXCEEDED AUDCLNT_ERR(0x17)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_BUFFER_ERROR AUDCLNT_ERR(0x18)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_BUFFER_SIZE_NOT_ALIGNED AUDCLNT_ERR(0x19)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/* Hex fail */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_INVALID_DEVICE_PERIOD AUDCLNT_ERR(0x20)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_INVALID_STREAM_FLAG AUDCLNT_ERR(0x021)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_ENDPOINT_OFFLOAD_NOT_CAPABLE AUDCLNT_ERR(0x022)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_OUT_OF_OFFLOAD_RESOURCES AUDCLNT_ERR(0x023)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_OFFLOAD_MODE_ONLY AUDCLNT_ERR(0x024)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_NONOFFLOAD_MODE_ONLY AUDCLNT_ERR(0x025)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_E_RESOURCES_INVALIDATED AUDCLNT_ERR(0x026)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_S_BUFFER_EMPTY AUDCLNT_SUCCESS(0x1)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_S_THREAD_ALREADY_REGISTERED AUDCLNT_SUCCESS(0x2)")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynccpp_quote("#define AUDCLNT_S_POSITION_STALLED AUDCLNT_SUCCESS(0x3)")