diff options
Diffstat (limited to '')
-rw-r--r-- | src/audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c index d4447bc7e..5eacf7422 100644 --- a/src/audio.c +++ b/src/audio.c @@ -461,13 +461,13 @@ void printAudioDevices(int fd) } } -void saveAudioDevicesState(FILE *fp) +void saveAudioDevicesState(int fd) { unsigned int i; assert(audioOutputArraySize != 0); for (i = 0; i < audioOutputArraySize; i++) { - fprintf(fp, AUDIO_DEVICE_STATE "%d:%s\n", + fdprintf(fd, AUDIO_DEVICE_STATE "%d:%s\n", audioDeviceStates[i] & 0x01, audioOutputArray[i].name); } |