mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 19:07:01 +02:00
e1be2ead54
* pad: send DualSense speaker and haptic audio over Bluetooth * ci: fix Opus clang-cl build and macOS memory tracker test * docs: remove Bluetooth notes from project README * pad: keep Bluetooth audio work off emulation timing path * pad: smooth DualSense speaker audio on USB and Bluetooth * tests: find available macOS guest range for page manager * pad: keep haptic waveform when Bluetooth queue overflows * audio: reject zero output sample frequency * Simplify DualSense audio routing and fix Bluetooth batching --------- Co-authored-by: Codex <codex@openai.com> Co-authored-by: nmzik <Nmzik@mail.ru>
15 lines
432 B
C++
15 lines
432 B
C++
#ifndef KYTY_LIBS_DUALSENSE_BLUETOOTH_H_
|
|
#define KYTY_LIBS_DUALSENSE_BLUETOOTH_H_
|
|
|
|
#include <cstdint>
|
|
|
|
namespace Libs::Controller::DualSenseBluetooth {
|
|
struct Stream;
|
|
Stream* Open(uint32_t frequency, bool speaker, int controller, void (*tick)());
|
|
uint64_t Queue(Stream* stream, const float* samples, uint32_t frames);
|
|
void Close(Stream* stream);
|
|
void Shutdown();
|
|
} // namespace Libs::Controller::DualSenseBluetooth
|
|
|
|
#endif
|