Title | Data | Data name | No |
SndPcmStPrm prm
Access Macro | Type | Description |
|---|---|---|
SND_PRM_MODE (prm) | Uint8 | Stereo Mono + Sampling rate |
SND_PRM_SADR (prm) | Uint16 | PCM stream buffer start Address |
SND_PRM_SIZE (prm) | Uint16 | PCM stream buffer size |
SND_PRM_OFSET (prm) | Uint8 | Start PCM stream playback Offset |
SND_PRM_MODE(prm)
Please specify the following constants by logical OR.
bit position | constant | Meaning |
|---|---|---|
Mono / Stereo Select Bit | SND_MD_MONO | Mono |
SND_MD_STEREO | Stereo |
|
Sampling rate selection bit | SND_MD_16 | 16 Bit PCM |
SND_MD_8 | 8-bit PCM |
SND_PRM_SADR(prm)
Value (Hexadecimal) | Meaning |
|---|---|
0000 to FFFF | PCM stream buffer start address |
SND_PRM_SIZE(prm)
Value (Hexadecimal) | Meaning |
|---|---|
0000 to FFFF | PCM stream buffer size |
SND_PRM_OFSET(prm)
Value (Hexadecimal) | Meaning |
|---|---|
0 to F | PCM stream playback start offset (0000 to F000) |