Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion src/kernel/pspaudiorouting.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
#ifndef __PSPAUDIOROUTING_H__
#define __PSPAUDIOROUTING_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/**
* Set routing mode.
*
Expand All @@ -27,5 +31,23 @@ int sceAudioRoutingSetMode( int mode );
*/
int sceAudioRoutingGetMode();

#endif
/** Get the current routing volume mode.
*
* @return The current routing volume mode.
*/
int sceAudioRoutingGetVolumeMode();

/** Set the routing volume mode.
*
* @param vol_mode The routing volume to set (`0` or `1`).
*
* @return `0` on success, `< 0` on error.
*/
int sceAudioRoutingSetVolumeMode(int vol_mode);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __PSPAUDIOROUTING_H__ */