2021-05-11 18:29:38 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2021 Jacek Caban for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2021-05-11 18:30:00 +02:00
|
|
|
struct pulse_config
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
WAVEFORMATEXTENSIBLE format;
|
|
|
|
REFERENCE_TIME def_period;
|
|
|
|
REFERENCE_TIME min_period;
|
|
|
|
} modes[2];
|
|
|
|
unsigned int speakers_mask;
|
|
|
|
};
|
|
|
|
|
2021-05-11 18:29:38 +02:00
|
|
|
struct unix_funcs
|
|
|
|
{
|
|
|
|
void (WINAPI *lock)(void);
|
|
|
|
void (WINAPI *unlock)(void);
|
|
|
|
int (WINAPI *cond_wait)(void);
|
|
|
|
void (WINAPI *broadcast)(void);
|
2021-05-11 18:30:17 +02:00
|
|
|
void (WINAPI *main_loop)(void);
|
|
|
|
HRESULT (WINAPI *connect)(const char *name, pa_context **ret);
|
2021-05-11 18:30:00 +02:00
|
|
|
HRESULT (WINAPI *test_connect)(const char *name, struct pulse_config *config);
|
2021-05-11 18:29:38 +02:00
|
|
|
};
|