26 Oct
2015
26 Oct
'15
10:54 a.m.
Clemens Ladisch wrote:
To get the current parameters of the device, use snd_pcm_hw_params_current().
Ah, that makes sense. Now I get:
ACCESS: RW_INTERLEAVED FORMAT: S32_LE SUBFORMAT: STD SAMPLE_BITS: [0 0] FRAME_BITS: [64 64] CHANNELS: [2 2] RATE: [48000 48000] PERIOD_TIME: [6250 6250] PERIOD_SIZE: [300 300] PERIOD_BYTES: [0 0] PERIODS: [0 0] BUFFER_TIME: [0 0] BUFFER_SIZE: [1200 1200] BUFFER_BYTES: [9600 9600] TICK_TIME: [0 0]
Why is SAMPLE_BITS == [0 0], even though the format is S32_LE?
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/