Go to the source code of this file.
|
| SceInt32 | sceMp3ReserveMp3Handle (SceMp3InitArg *args) |
| | sceMp3ReserveMp3Handle
|
| |
| SceInt32 | sceMp3ReleaseMp3Handle (SceInt32 handle) |
| | sceMp3ReleaseMp3Handle
|
| |
| SceInt32 | sceMp3InitResource () |
| | sceMp3InitResource
|
| |
| SceInt32 | sceMp3TermResource () |
| | sceMp3TermResource
|
| |
| SceInt32 | sceMp3Init (SceInt32 handle) |
| | sceMp3Init
|
| |
| SceInt32 | sceMp3Decode (SceInt32 handle, SceShort16 **dst) |
| | sceMp3Decode
|
| |
| SceInt32 | sceMp3GetInfoToAddStreamData (SceInt32 handle, SceUChar8 **dst, SceInt32 *towrite, SceInt32 *srcpos) |
| | sceMp3GetInfoToAddStreamData
|
| |
| SceInt32 | sceMp3NotifyAddStreamData (SceInt32 handle, SceInt32 size) |
| | sceMp3NotifyAddStreamData
|
| |
| SceInt32 | sceMp3CheckStreamDataNeeded (SceInt32 handle) |
| | sceMp3CheckStreamDataNeeded
|
| |
| SceInt32 | sceMp3SetLoopNum (SceInt32 handle, SceInt32 loop) |
| | sceMp3SetLoopNum
|
| |
| SceInt32 | sceMp3GetLoopNum (SceInt32 handle) |
| | sceMp3GetLoopNum
|
| |
| SceInt32 | sceMp3GetSumDecodedSample (SceInt32 handle) |
| | sceMp3GetSumDecodedSample
|
| |
| SceInt32 | sceMp3GetMaxOutputSample (SceInt32 handle) |
| | sceMp3GetMaxOutputSample
|
| |
| SceInt32 | sceMp3GetSamplingRate (SceInt32 handle) |
| | sceMp3GetSamplingRate
|
| |
| SceInt32 | sceMp3GetBitRate (SceInt32 handle) |
| | sceMp3GetBitRate
|
| |
| SceInt32 | sceMp3GetMp3ChannelNum (SceInt32 handle) |
| | sceMp3GetMp3ChannelNum
|
| |
| SceInt32 | sceMp3ResetPlayPosition (SceInt32 handle) |
| | sceMp3ResetPlayPosition
|
| |
| SceInt32 | sceMp3GetFrameNum (SceInt32 handle) |
| | sceMp3GetFrameNum
|
| |
| SceInt32 | sceMp3ResetPlayPositionByFrame (SceInt32 handle, SceUInt32 frame) |
| | sceMp3ResetPlayPositionByFrame
|
| |
| SceInt32 | sceMp3GetMPEGVersion (SceInt32 handle) |
| | sceMp3GetMPEGVersion
|
| |
| SceInt32 | sceMp3LowLevelInit (SceInt32 handle, SceUChar8 *src) |
| | sceMp3LowLevelInit
|
| |
| SceInt32 | sceMp3LowLevelDecode (SceInt32 handle, SceUChar8 *mp3src, SceUInt32 *mp3srcused, SceShort16 *pcmdst, SceUInt32 *pcmdstoutsz) |
| | sceMp3LowLevelDecode
|
| |
◆ SceMp3InitArg
| typedef struct SceMp3InitArg SceMp3InitArg |
◆ sceMp3CheckStreamDataNeeded()
sceMp3CheckStreamDataNeeded
- Parameters
-
- Returns
- 1 if more stream data is needed, < 0 on error.
◆ sceMp3Decode()
sceMp3Decode
- Parameters
-
| handle | - sceMp3 handle |
| dst | - Pointer to destination pcm samples buffer |
- Returns
- number of bytes in decoded pcm buffer, < 0 on error.
◆ sceMp3GetBitRate()
sceMp3GetBitRate
- Parameters
-
- Returns
- Bitrate of the mp3, < 0 on error.
◆ sceMp3GetFrameNum()
sceMp3GetFrameNum
- Parameters
-
- Returns
- Number of audio frames, < 0 on error
◆ sceMp3GetInfoToAddStreamData()
sceMp3GetInfoToAddStreamData
- Parameters
-
| handle | - sceMp3 handle |
| dst | - Pointer to stream data buffer |
| towrite | - Space remaining in stream data buffer |
| srcpos | - Position in source stream to start reading from |
- Returns
- 0 if success, < 0 on error.
◆ sceMp3GetLoopNum()
sceMp3GetLoopNum
- Parameters
-
- Returns
- Number of loops, < 0 on error.
◆ sceMp3GetMaxOutputSample()
sceMp3GetMaxOutputSample
- Parameters
-
- Returns
- Number of max samples to output, < 0 on error.
◆ sceMp3GetMp3ChannelNum()
sceMp3GetMp3ChannelNum
- Parameters
-
- Returns
- Number of channels of the mp3, < 0 on error.
◆ sceMp3GetMPEGVersion()
sceMp3GetMPEGVersion
- Parameters
-
- Returns
- MPEG Version, < 0 on error
◆ sceMp3GetSamplingRate()
sceMp3GetSamplingRate
- Parameters
-
- Returns
- Sampling rate of the mp3, < 0 on error.
◆ sceMp3GetSumDecodedSample()
sceMp3GetSumDecodedSample
- Parameters
-
- Returns
- Number of decoded samples, < 0 on error.
◆ sceMp3Init()
sceMp3Init
- Parameters
-
- Returns
- 0 if success, < 0 on error.
◆ sceMp3InitResource()
sceMp3InitResource
- Returns
- 0 if success, < 0 on error.
◆ sceMp3LowLevelDecode()
sceMp3LowLevelDecode
- Parameters
-
| handle | - sceMp3 handle |
| mp3src | - Pointer to a buffer to contain raw mp3 stream data |
| mp3srcused | - mp3 data size consumed by decoding |
| pcmdst | - Pointer to destination pcm samples buffer |
| pcmdstoutsz | - Size of pcm data output by decoding |
- Returns
- 0 if success, < 0 on error.
◆ sceMp3LowLevelInit()
sceMp3LowLevelInit
- Parameters
-
| handle | - sceMp3 handle |
| src | - Pointer to a buffer to contain raw mp3 stream data |
- Returns
- 0 if success, < 0 on error.
◆ sceMp3NotifyAddStreamData()
sceMp3NotifyAddStreamData
- Parameters
-
| handle | - sceMp3 handle |
| size | - number of bytes added to the stream data buffer |
- Returns
- 0 if success, < 0 on error.
◆ sceMp3ReleaseMp3Handle()
sceMp3ReleaseMp3Handle
- Parameters
-
- Returns
- 0 if success, < 0 on error.
◆ sceMp3ReserveMp3Handle()
sceMp3ReserveMp3Handle
- Parameters
-
- Returns
- sceMp3 handle on success, < 0 on error.
◆ sceMp3ResetPlayPosition()
sceMp3ResetPlayPosition
- Parameters
-
- Returns
- 0 if success, < 0 on error.
◆ sceMp3ResetPlayPositionByFrame()
sceMp3ResetPlayPositionByFrame
- Parameters
-
| handle | - sceMp3 handle |
| frame | - frame |
- Returns
- 0 if success, < 0 on error.
◆ sceMp3SetLoopNum()
sceMp3SetLoopNum
- Parameters
-
| handle | - sceMp3 handle |
| loop | - Number of loops |
- Returns
- 0 if success, < 0 on error.
◆ sceMp3TermResource()
sceMp3TermResource
- Returns
- 0 if success, < 0 on error.