Advertisement
Guest User

ALSA sample formats in Ubuntu

a guest
Jul 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. PCM access types:
  2. MMAP_INTERLEAVED
  3. MMAP_NONINTERLEAVED
  4. MMAP_COMPLEX
  5. RW_INTERLEAVED
  6. RW_NONINTERLEAVED
  7.  
  8. PCM formats:
  9. S8 (Signed 8 bit)
  10. U8 (Unsigned 8 bit)
  11. S16_LE (Signed 16 bit Little Endian)
  12. S16_BE (Signed 16 bit Big Endian)
  13. U16_LE (Unsigned 16 bit Little Endian)
  14. U16_BE (Unsigned 16 bit Big Endian)
  15. S24_LE (Signed 24 bit Little Endian)
  16. S24_BE (Signed 24 bit Big Endian)
  17. U24_LE (Unsigned 24 bit Little Endian)
  18. U24_BE (Unsigned 24 bit Big Endian)
  19. S32_LE (Signed 32 bit Little Endian)
  20. S32_BE (Signed 32 bit Big Endian)
  21. U32_LE (Unsigned 32 bit Little Endian)
  22. U32_BE (Unsigned 32 bit Big Endian)
  23. FLOAT_LE (Float 32 bit Little Endian)
  24. FLOAT_BE (Float 32 bit Big Endian)
  25. FLOAT64_LE (Float 64 bit Little Endian)
  26. FLOAT64_BE (Float 64 bit Big Endian)
  27. IEC958_SUBFRAME_LE (IEC-958 Little Endian)
  28. IEC958_SUBFRAME_BE (IEC-958 Big Endian)
  29. MU_LAW (Mu-Law)
  30. A_LAW (A-Law)
  31. IMA_ADPCM (Ima-ADPCM)
  32. MPEG (MPEG)
  33. GSM (GSM)
  34. SPECIAL (Special)
  35. S24_3LE (Signed 24 bit Little Endian in 3bytes)
  36. S24_3BE (Signed 24 bit Big Endian in 3bytes)
  37. U24_3LE (Unsigned 24 bit Little Endian in 3bytes)
  38. U24_3BE (Unsigned 24 bit Big Endian in 3bytes)
  39. S20_3LE (Signed 20 bit Little Endian in 3bytes)
  40. S20_3BE (Signed 20 bit Big Endian in 3bytes)
  41. U20_3LE (Unsigned 20 bit Little Endian in 3bytes)
  42. U20_3BE (Unsigned 20 bit Big Endian in 3bytes)
  43. S18_3LE (Signed 18 bit Little Endian in 3bytes)
  44. S18_3BE (Signed 18 bit Big Endian in 3bytes)
  45. U18_3LE (Unsigned 18 bit Little Endian in 3bytes)
  46. U18_3BE (Unsigned 18 bit Big Endian in 3bytes)
  47. G723_24 (G.723 (ADPCM) 24 kbit/s, 8 samples in 3 bytes)
  48. G723_24_1B (G.723 (ADPCM) 24 kbit/s, 1 sample in 1 byte)
  49. G723_40 (G.723 (ADPCM) 40 kbit/s, 8 samples in 3 bytes)
  50. G723_40_1B (G.723 (ADPCM) 40 kbit/s, 1 sample in 1 byte)
  51. DSD_U8 (Direct Stream Digital, 1-byte (x8), oldest bit in MSB)
  52. DSD_U16_LE (Direct Stream Digital, 2-byte (x16), little endian, oldest bits in MSB)
  53. DSD_U32_LE (Direct Stream Digital, 4-byte (x32), little endian, oldest bits in MSB)
  54. DSD_U16_BE (Direct Stream Digital, 2-byte (x16), big endian, oldest bits in MSB)
  55. DSD_U32_BE (Direct Stream Digital, 4-byte (x32), big endian, oldest bits in MSB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement