![]() |
vitasdk
Documentation of the vitasdk
|
#include <psp2kern/types.h>Go to the source code of this file.
Enumerations | |
| enum | SceCodecOutputRoute { SCE_CODEC_OUTPUT_ROUTE_NONE = 0x0000 , SCE_CODEC_OUTPUT_ROUTE_HEADPHONE = 0x0400 , SCE_CODEC_OUTPUT_ROUTE_DOCK = 0x0500 , SCE_CODEC_OUTPUT_ROUTE_SPEAKER = 0x1100 } |
| Complete output-route configurations used by SceAVConfig on FW 3.60. More... | |
| enum | SceCodecAudioOutMode { SCE_CODEC_AUDIO_OUT_MODE_COMPRESSED = 0x0100 , SCE_CODEC_AUDIO_OUT_MODE_NORMAL = 0x0200 } |
| External-codec audio-output profiles used by SceAudio. More... | |
| enum | SceCodecAudioInputMode { SCE_CODEC_AUDIO_INPUT_MODE_INACTIVE = -1 , SCE_CODEC_AUDIO_INPUT_MODE_BUILTIN_MIC = 0 , SCE_CODEC_AUDIO_INPUT_MODE_HEADSET_MIC = 1 , SCE_CODEC_AUDIO_INPUT_MODE_UNK_2 = 2 } |
| External-codec audio-input profiles used by SceAudioIn. More... | |
Functions | |
| int | ksceCodecReadRegister (SceUInt32 reg) |
| Read a raw register from the external audio codec. | |
| int | ksceCodecWriteRegister (SceUInt32 reg, SceUInt32 value) |
| Write a raw register in the external audio codec. | |
| int | ksceCodecGetOutputState (SceInt32 *speaker_gain_db, SceInt32 *headphone_gain_db) |
| Get the current external-codec output state. | |
| int | ksceCodecSetOutputRoute (SceUInt32 output_mask) |
| Set the external-codec output route. | |
| int | ksceCodecSetVolume (SceUInt32 volume_level) |
| Set the external-codec playback volume. | |
| int | ksceCodecSetAudioInputMode (SceCodecAudioInputMode mode) |
| Select the external-codec audio-input configuration used by SceAudioIn. | |
| int | ksceCodecSetAudioOutMode (SceCodecAudioOutMode mode) |
| Select the external-codec audio-output mode used by SceAudio. | |
| int | ksceCodecGetMicrophoneDetectStatus (void) |
| Get the headset-microphone detection state. | |
| int | ksceCodecSetMicrophoneDetectPower (SceBool enable) |
| Enable or disable the codec circuitry used for headset-microphone detection. | |