Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Lagertonne/6b17ae70655ca0e39505115226c18f83 to your computer and use it in GitHub Desktop.
Save Lagertonne/6b17ae70655ca0e39505115226c18f83 to your computer and use it in GitHub Desktop.
arecord -Dplughw:1,0 --dump-hw-params -d1 > /dev/null
Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
HW Params of device "plughw:1,0":
--------------------
ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED
FORMAT: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE MU_LAW A_LAW IMA_ADPCM S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE
SUBFORMAT: STD
SAMPLE_BITS: [4 64]
FRAME_BITS: [4 640000]
CHANNELS: [1 10000]
RATE: [4000 4294967295]
PERIOD_TIME: [1000 16384000]
PERIOD_SIZE: [4 4294967295]
PERIOD_BYTES: [2 4294967295]
PERIODS: (0 1073741824)
BUFFER_TIME: [1 4294967295]
BUFFER_SIZE: [2 4294967294]
BUFFER_BYTES: [1 4294967295]
TICK_TIME: ALL
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment