audioclient.idl revision 3194da424708abdd288b28d96892b3a5f3f7df0b
1N/A * Core Audio audioclient definitions 1N/A * Copyright 2009 Maarten Lankhorst 1N/A * This library is free software; you can redistribute it and/or 1N/A * modify it under the terms of the GNU Lesser General Public 1N/A * License as published by the Free Software Foundation; either 1N/A * version 2.1 of the License, or (at your option) any later version. 1N/A * This library is distributed in the hope that it will be useful, 1N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1N/A * Lesser General Public License for more details. 1N/A * You should have received a copy of the GNU Lesser General Public 1N/A * License along with this library; if not, write to the Free Software 1N/A * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 1N/Aimport "audiosessiontypes.h";
1N/A/* Forward declarations */ cpp_quote(
"#define AUDIOCLOCK_CHARACTERISTIC_FIXED_FREQ 0x00000001")
uuid(
"cd63314f-3fba-4a1b-812c-ef96358728e7"),
uuid(
"6f49ff73-6727-49ac-a008-d98cf5e70048"),
uuid(
"f6e4c0a0-46d9-4fb9-be21-57a3ef2b626c"),
uuid(
"87ce5498-68d6-44e5-9215-6da47ef883d8"),
uuid(
"93014887-242d-4068-8a15-cf5e93b90fe3"),
uuid(
"1c158861-b533-4b30-b1cf-e853e51c59b8"),
cpp_quote(
"#define AUDCLNT_ERR(n) MAKE_HRESULT(SEVERITY_ERROR, FACILIY_AUDCLNT, n)")
cpp_quote(
"#define AUDCLNT_SUCCESS(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILIY_AUDCLNT, n)")
cpp_quote(
"#define AUDCLNT_E_NOT_INITIALIZED AUDCLNT_ERR(1)")
cpp_quote(
"#define AUDCLNT_E_ALREADY_INITIALIZED AUDCLNT_ERR(2)")
cpp_quote(
"#define AUDCLNT_E_WRONG_ENDPOINT_TYPE AUDCLNT_ERR(3)")
cpp_quote(
"#define AUDCLNT_E_DEVICE_INVALIDATED AUDCLNT_ERR(4)")
cpp_quote(
"#define AUDCLNT_E_NOT_STOPPED AUDCLNT_ERR(5)")
cpp_quote(
"#define AUDCLNT_E_BUFFER_TOO_LARGE AUDCLNT_ERR(6)")
cpp_quote(
"#define AUDCLNT_E_OUT_OF_ORDER AUDCLNT_ERR(7)")
cpp_quote(
"#define AUDCLNT_E_UNSUPPORTED_FORMAT AUDCLNT_ERR(8)")
cpp_quote(
"#define AUDCLNT_E_INVALID_SIZE AUDCLNT_ERR(9)")
cpp_quote(
"#define AUDCLNT_E_DEVICE_IN_USE AUDCLNT_ERR(0x0a)")
cpp_quote(
"#define AUDCLNT_E_BUFFER_OPERATION_PENDING AUDCLNT_ERR(0x0b)")
cpp_quote(
"#define AUDCLNT_E_THREAD_NOT_REGISTERED AUDCLNT_ERR(0x0c)")
/* Not defined? cpp_quote("#define AUDCLNT_E_UNKNOWN_XXX1 AUDCLNT_ERR(0x0d)") */ cpp_quote(
"#define AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED AUDCLNT_ERR(0x0e)")
cpp_quote(
"#define AUDCLNT_E_ENDPOINT_CREATE_FAILED AUDCLNT_ERR(0x0f)")
cpp_quote(
"#define AUDCLNT_E_SERVICE_NOT_RUNNING AUDCLNT_ERR(0x10)")
cpp_quote(
"#define AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED AUDCLNT_ERR(0x11)")
cpp_quote(
"#define AUDCLNT_E_EXCLUSIVE_MODE_ONLY AUDCLNT_ERR(0x12)")
cpp_quote(
"#define AUDCLNT_E_BUFDURATION_PERIOD_NOT_EQUAL AUDCLNT_ERR(0x13)")
cpp_quote(
"#define AUDCLNT_E_EVENTHANDLE_NOT_SET AUDCLNT_ERR(0x14)")
cpp_quote(
"#define AUDCLNT_E_INCORRECT_BUFFER_SIZE AUDCLNT_ERR(0x15)")
cpp_quote(
"#define AUDCLNT_E_BUFFER_SIZE_ERROR AUDCLNT_ERR(0x16)")
cpp_quote(
"#define AUDCLNT_E_CPUUSAGE_EXCEEDED AUDCLNT_ERR(0x17)")
cpp_quote(
"#define AUDCLNT_E_BUFFER_ERROR AUDCLNT_ERR(0x18)")
cpp_quote(
"#define AUDCLNT_E_BUFFER_SIZE_NOT_ALIGNED AUDCLNT_ERR(0x19)")
cpp_quote(
"#define AUDCLNT_E_INVALID_DEVICE_PERIOD AUDCLNT_ERR(0x20)")
cpp_quote(
"#define AUDCLNT_E_INVALID_STREAM_FLAG AUDCLNT_ERR(0x021)")
cpp_quote(
"#define AUDCLNT_E_ENDPOINT_OFFLOAD_NOT_CAPABLE AUDCLNT_ERR(0x022)")
cpp_quote(
"#define AUDCLNT_E_OUT_OF_OFFLOAD_RESOURCES AUDCLNT_ERR(0x023)")
cpp_quote(
"#define AUDCLNT_E_OFFLOAD_MODE_ONLY AUDCLNT_ERR(0x024)")
cpp_quote(
"#define AUDCLNT_E_NONOFFLOAD_MODE_ONLY AUDCLNT_ERR(0x025)")
cpp_quote(
"#define AUDCLNT_E_RESOURCES_INVALIDATED AUDCLNT_ERR(0x026)")
cpp_quote(
"#define AUDCLNT_S_BUFFER_EMPTY AUDCLNT_SUCCESS(0x1)")
cpp_quote(
"#define AUDCLNT_S_THREAD_ALREADY_REGISTERED AUDCLNT_SUCCESS(0x2)")
cpp_quote(
"#define AUDCLNT_S_POSITION_STALLED AUDCLNT_SUCCESS(0x3)")