mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 14:50:07 +00:00
ao_wasapi: add "wasapi" prefix to non-static find_deviceID function
This commit is contained in:
parent
e927ff1666
commit
4d5d25fdbb
@ -281,7 +281,7 @@ static int init(struct ao *ao)
|
||||
struct wasapi_state *state = ao->priv;
|
||||
state->log = ao->log;
|
||||
|
||||
state->deviceID = find_deviceID(ao);
|
||||
state->deviceID = wasapi_find_deviceID(ao);
|
||||
if (!state->deviceID) {
|
||||
uninit(ao);
|
||||
return -1;
|
||||
|
@ -120,7 +120,7 @@ char *mp_PKEY_to_str_buf(char *buf, size_t buf_size, const PROPERTYKEY *pkey);
|
||||
|
||||
void wasapi_list_devs(struct ao *ao, struct ao_device_list *list);
|
||||
bstr wasapi_get_specified_device_string(struct ao *ao);
|
||||
LPWSTR find_deviceID(struct ao *ao);
|
||||
LPWSTR wasapi_find_deviceID(struct ao *ao);
|
||||
|
||||
void wasapi_dispatch(struct ao *ao);
|
||||
HRESULT wasapi_thread_init(struct ao *ao);
|
||||
|
@ -867,7 +867,7 @@ bstr wasapi_get_specified_device_string(struct ao *ao)
|
||||
return device;
|
||||
}
|
||||
|
||||
LPWSTR find_deviceID(struct ao *ao)
|
||||
LPWSTR wasapi_find_deviceID(struct ao *ao)
|
||||
{
|
||||
LPWSTR deviceID = NULL;
|
||||
bstr device = wasapi_get_specified_device_string(ao);
|
||||
|
Loading…
Reference in New Issue
Block a user