
Go to the source code of this file.
Data Structures | |
| struct | pspAudioInputParams |
Defines | |
| #define | PSP_AUDIO_VOLUME_MAX 0x8000 |
| The maximum output volume. | |
| #define | PSP_AUDIO_CHANNEL_MAX 8 |
| The maximum number of hardware channels. | |
| #define | PSP_AUDIO_NEXT_CHANNEL (-1) |
| Used to request the next available hardware channel. | |
| #define | PSP_AUDIO_SAMPLE_MIN 64 |
| The minimum number of samples that can be allocated to a channel. | |
| #define | PSP_AUDIO_SAMPLE_MAX 65472 |
| The maximum number of samples that can be allocated to a channel. | |
| #define | PSP_AUDIO_SAMPLE_ALIGN(s) (((s) + 63) & ~63) |
| Make the given sample count a multiple of 64. | |
Enumerations | |
| enum | PspAudioFormats { PSP_AUDIO_FORMAT_STEREO = 0, PSP_AUDIO_FORMAT_MONO = 0x10 } |
Functions | |
| int | sceAudioChReserve (int channel, int samplecount, int format) |
| Allocate and initialize a hardware output channel. | |
| int | sceAudioChRelease (int channel) |
| Release a hardware output channel. | |
| int | sceAudioOutput (int channel, int vol, void *buf) |
| Output audio of the specified channel. | |
| int | sceAudioOutputBlocking (int channel, int vol, void *buf) |
| Output audio of the specified channel (blocking). | |
| int | sceAudioOutputPanned (int channel, int leftvol, int rightvol, void *buf) |
| Output panned audio of the specified channel. | |
| int | sceAudioOutputPannedBlocking (int channel, int leftvol, int rightvol, void *buf) |
| Output panned audio of the specified channel (blocking). | |
| int | sceAudioGetChannelRestLen (int channel) |
| Get count of unplayed samples remaining. | |
| int | sceAudioGetChannelRestLength (int channel) |
| Get count of unplayed samples remaining. | |
| int | sceAudioSetChannelDataLen (int channel, int samplecount) |
| Change the output sample count, after it's already been reserved. | |
| int | sceAudioChangeChannelConfig (int channel, int format) |
| Change the format of a channel. | |
| int | sceAudioChangeChannelVolume (int channel, int leftvol, int rightvol) |
| Change the volume of a channel. | |
| int | sceAudioOutput2Reserve (int samplecount) |
| Reserve the audio output and set the output sample count. | |
| int | sceAudioOutput2Release (void) |
| Release the audio output. | |
| int | sceAudioOutput2ChangeLength (int samplecount) |
| Change the output sample count, after it's already been reserved. | |
| int | sceAudioOutput2OutputBlocking (int vol, void *buf) |
| Output audio (blocking). | |
| int | sceAudioOutput2GetRestSample (void) |
| Get count of unplayed samples remaining. | |
| int | sceAudioSRCChReserve (int samplecount, int freq, int channels) |
| Reserve the audio output. | |
| int | sceAudioSRCChRelease (void) |
| Release the audio output. | |
| int | sceAudioSRCOutputBlocking (int vol, void *buf) |
| Output audio. | |
| int | sceAudioInputInit (int unknown1, int gain, int unknown2) |
| Init audio input. | |
| int | sceAudioInputInitEx (pspAudioInputParams *params) |
| Init audio input (with extra arguments). | |
| int | sceAudioInputBlocking (int samplecount, int freq, void *buf) |
| Perform audio input (blocking). | |
| int | sceAudioInput (int samplecount, int freq, void *buf) |
| Perform audio input. | |
| int | sceAudioGetInputLength (void) |
| Get the number of samples that were acquired. | |
| int | sceAudioWaitInputEnd (void) |
| Wait for non-blocking audio input to complete. | |
| int | sceAudioPollInputEnd (void) |
| Poll for non-blocking audio input status. | |
1.7.1