diff --git a/src/kernel/pspaudiorouting.h b/src/kernel/pspaudiorouting.h index 16891bc426..b33e2bc60c 100644 --- a/src/kernel/pspaudiorouting.h +++ b/src/kernel/pspaudiorouting.h @@ -11,6 +11,10 @@ #ifndef __PSPAUDIOROUTING_H__ #define __PSPAUDIOROUTING_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /** * Set routing mode. * @@ -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__ */