mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 13:46:35 +01:00
properly handle file pausing
This commit is contained in:
@@ -359,8 +359,6 @@ inline__ DeviceError write_out(uint32_t device_idx, const int16_t* data, uint32_
|
||||
if (device_idx >= MAX_DEVICES) return de_InvalidSelection;
|
||||
|
||||
Device* device = running[output][device_idx];
|
||||
if (!device)
|
||||
fprintf(stderr, "DEVICE IS NULL SILLY\n");
|
||||
|
||||
if (!device || device->muted) return de_DeviceNotActive;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user