libnx/nx/include/switch/services/auddev.h
friedkeenan da4c060278 Add a bunch of GetServiceSession functions (#305)
* Add a bunch of GetServiceSession functions
2019-07-13 15:09:28 -04:00

20 lines
543 B
C

/**
* @file auddev.h
* @brief Audio device.
* @author yellows8
* @copyright libnx Authors
*/
#pragma once
#include "../audio/audio.h"
#include "../services/sm.h"
Result auddevInitialize(void);
void auddevExit(void);
Service* auddevGetServiceSession(void);
Result auddevListAudioDeviceName(AudioDeviceName *DeviceNames, s32 max_names, s32 *total_names);
Result auddevSetAudioDeviceOutputVolume(const AudioDeviceName *DeviceName, float volume);
Result auddevGetAudioDeviceOutputVolume(const AudioDeviceName *DeviceName, float *volume);