1
0
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:
Jfreegman
2014-12-05 13:23:45 -05:00
parent 5aad8764b1
commit 90985af007
8 changed files with 71 additions and 12 deletions

View File

@@ -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;