0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC

This commit is contained in:
2025-06-21 14:25:39 +02:00
parent dbd5aa7180
commit 102067881d
2 changed files with 2 additions and 9 deletions

View File

@@ -29,13 +29,6 @@ int read_PulseInputDevice(PulseInputDevice* dev, void* buffer, size_t size) {
return error;
}
int read_PulseInputDevicef(PulseInputDevice* dev, void* buffer, size_t size) {
if (!dev->initialized) return -1;
int error = 0;
if(pa_simple_read(dev->dev, buffer, size, &error) == 0) return 0;
return error;
}
void free_PulseInputDevice(PulseInputDevice* dev) {
#ifdef PULSE_DEBUG
debug_printf("Freeing PulseInputDevice with app_name: %s, stream_name: %s, device: %s\n", dev->app_name, dev->stream_name, dev->device);