Simon McVittie
70b2d162e3
audio: Assert that all devices from device_hash are the appropriate type
...
The keys and values of device_hash are pairs
`(SDL_AudioDeviceID devid, void *dev)` where dev can be either a
`SDL_AudioDevice *` or a `SDL_LogicalAudioDevice *`, depending on
bit 1 of devid.
We can confirm that we have got this right by looking at the
instance_id member, because logical audio devices happen to start with
the devid, whereas physical devices start with a pointer which is
unlikely to match the devid by chance.
Signed-off-by: Simon McVittie <smcv@collabora.com >
2025-05-13 08:53:24 -07:00
..
2025-01-01 07:45:52 -08:00
2025-05-13 08:53:24 -07:00
2025-05-08 07:22:11 -07:00
2025-05-10 07:53:36 -07:00
2025-05-08 11:51:35 -07:00
2025-05-07 15:43:00 -04:00
2025-04-25 21:13:04 -04:00
2025-05-01 22:50:52 -05:00
2025-05-08 07:22:11 -07:00
2025-05-11 16:11:45 -07:00
2025-04-24 08:51:55 -07:00
2025-05-10 07:45:06 -07:00
2025-03-20 15:50:06 -04:00
2025-05-12 05:36:21 -07:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-03 15:27:08 -08:00
2025-01-01 07:45:52 -08:00
2025-01-14 12:03:07 -08:00
2025-01-01 07:45:52 -08:00
2025-05-12 09:17:21 -07:00
2025-04-23 16:14:52 -07:00
2025-01-22 20:25:04 -08:00
2025-03-12 11:42:02 -07:00
2025-03-18 22:12:21 -04:00
2025-05-05 11:08:15 -04:00
2025-03-07 17:31:06 -08:00
2025-03-19 12:19:42 -04:00
2025-02-02 21:23:50 +03:00
2025-05-12 07:01:05 -07:00
2025-05-13 11:32:02 -04:00
2025-01-01 07:45:52 -08:00
2025-03-20 16:24:16 -07:00
2025-03-02 07:55:56 -08:00
2025-01-02 17:32:10 -08:00
2025-01-01 07:45:52 -08:00
2025-02-15 18:52:56 -05:00
2025-02-15 18:52:56 -05:00
2025-01-01 07:45:52 -08:00
2025-04-03 11:33:34 -07:00
2025-02-22 09:48:49 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-02-26 08:34:14 -08:00
2025-02-27 14:03:39 -08:00
2025-04-02 08:30:26 -07:00
2025-03-02 07:55:56 -08:00