On 10/18/18 20:57, Takashi Iwai wrote:
But how can it be at the first place? (352 353) is already empty as the frames. The time could be kept in this representation, but the frames must be integer.
Which order of calls did it result in so?
We know that some order of calls make the selection impossible like the above, especially when both time and bytes/frames are mixed.
I have used the following ALSA configuration:
pcm.test_rate { type rate slave.pcm hw:gmdcard slave.rate 48000 }
and used the following implementation:
INTERVAL_INLINE int snd_interval_single(const snd_interval_t *i) { assert(!snd_interval_empty(i)); return (i->min == i->max || (i->min + 1 == i->max && (i->openmin || i->openmax))); }
INTERVAL_INLINE int snd_interval_value(const snd_interval_t *i) { assert(snd_interval_single(i)); if (i->openmin) return (i->min + 1); return i->min; }
In addition I have enabled RULES_DEBUG. With the following aplay command I got a period of 353 frames and a buffer of 705 frames:
$ aplay -Dtest_rate -c2 -r22050 -fS16_LE /dev/urandom --period-time=16000 --buffer-time=32000 -v Playing raw data '/dev/urandom' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED 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 S20_LE S20_BE U20_LE U20_BE 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: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [4000 192000] PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED 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 S20_LE S20_BE U20_LE U20_BE 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: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [4000 192000] PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX 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 S20_LE S20_BE U20_LE U20_BE 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: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: [0 4294967295) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED RW_INTERLEAVED RW_NONINTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [4000 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: [0 131072] BUFFER_BYTES: ALL TICK_TIME: ALL Rule 0 (0xffff80eae410): FORMAT= S16_LE -> S16_LE SAMPLE_BITS=16 Rule 1 (0xffff80eae2f0): SAMPLE_BITS=16 -> 16 FORMAT= S16_LE SAMPLE_BITS=16 Rule 2 (0xffff80eae250): SAMPLE_BITS=16 -> 16 FRAME_BITS=32 CHANNELS=2 Rule 3 (0xffff80eae1b0): FRAME_BITS=32 -> 32 SAMPLE_BITS=16 CHANNELS=2 Rule 4 (0xffff80eae100): FRAME_BITS=32 -> 32 PERIOD_BYTES=ALL PERIOD_SIZE=ALL Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[1 4294967295] BUFFER_SIZE=[1 131072] Rule 6 (0xffff80eae250): CHANNELS=2 -> 2 FRAME_BITS=32 SAMPLE_BITS=16 Rule 7 (0xffff80eae100): RATE=[4000 192000] -> [4000 192000] PERIOD_SIZE=ALL PERIOD_TIME=(166 42667) Rule 8 (0xffff80eae100): RATE=[4000 192000] -> [4000 192000] BUFFER_SIZE=[1 131072] BUFFER_TIME=[1 4294967295] Rule 9 (0xffff80eae250): PERIODS=ALL -> (0 4294967295] BUFFER_SIZE=[1 131072] PERIOD_SIZE=ALL Rule 10 (0xffff80eae250): PERIOD_SIZE=ALL -> (0 4294967295] BUFFER_SIZE=[1 131072] PERIODS=(0 4294967295] Rule 11 (0xffff80eae100): PERIOD_SIZE=(0 4294967295] -> (0 1073741824) PERIOD_BYTES=ALL FRAME_BITS=32 Rule 12 (0xffff80eae050): PERIOD_SIZE=(0 1073741824) -> (0 8193) PERIOD_TIME=(166 42667) RATE=[4000 192000] Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[1 131072] -> [1 131072] PERIOD_SIZE=(0 8193) PERIODS=(0 4294967295] Rule 14 (0xffff80eae100): BUFFER_SIZE=[1 131072] -> [1 131072] BUFFER_BYTES=[1 4294967295] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[1 131072] -> [1 131072] BUFFER_TIME=[1 4294967295] RATE=[4000 192000] Rule 16 (0xffff80eae050): PERIOD_BYTES=ALL -> (0 32772) PERIOD_SIZE=(0 8193) FRAME_BITS=32 Rule 17 (0xffff80eae050): BUFFER_BYTES=[1 4294967295] -> [4 524288] BUFFER_SIZE=[1 131072] FRAME_BITS=32 Rule 18 (0xffff80eae100): PERIOD_TIME=(166 42667) -> (166 42667) PERIOD_SIZE=(0 8193) RATE=[4000 192000] Rule 19 (0xffff80eae100): BUFFER_TIME=[1 4294967295] -> (5 32768000] BUFFER_SIZE=[1 131072] RATE=[4000 192000] Rule 4 (0xffff80eae100): FRAME_BITS=32 -> 32 PERIOD_BYTES=(0 32772) PERIOD_SIZE=(0 8193) Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[4 524288] BUFFER_SIZE=[1 131072] Rule 7 (0xffff80eae100): RATE=[4000 192000] -> [4000 192000] PERIOD_SIZE=(0 8193) PERIOD_TIME=(166 42667) Rule 8 (0xffff80eae100): RATE=[4000 192000] -> [4000 192000] BUFFER_SIZE=[1 131072] BUFFER_TIME=(5 32768000] Rule 9 (0xffff80eae250): PERIODS=(0 4294967295] -> (0 4294967295] BUFFER_SIZE=[1 131072] PERIOD_SIZE=(0 8193) Rule 11 (0xffff80eae100): PERIOD_SIZE=(0 8193) -> (0 8193) PERIOD_BYTES=(0 32772) FRAME_BITS=32 Rule 14 (0xffff80eae100): BUFFER_SIZE=[1 131072] -> [1 131072] BUFFER_BYTES=[4 524288] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[1 131072] -> [1 131072] BUFFER_TIME=(5 32768000] RATE=[4000 192000] refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED RW_INTERLEAVED RW_NONINTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [4000 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [1 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: (166 42667) PERIOD_SIZE: [8 2048] PERIOD_BYTES: [32 8192] PERIODS: [1 32] BUFFER_TIME: (166 682667) BUFFER_SIZE: [8 32768] BUFFER_BYTES: [32 131072] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED RW_INTERLEAVED RW_NONINTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [4000 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [1 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: (166 42667) PERIOD_SIZE: [8 2048] PERIOD_BYTES: [32 8192] PERIODS: [1 32] BUFFER_TIME: (166 682667) BUFFER_SIZE: [8 32768] BUFFER_BYTES: [32 131072] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED RW_INTERLEAVED RW_NONINTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [4000 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [1 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [4000 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [1 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [4000 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [1 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: (166 42667) PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (0 1572909) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [4000 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [1 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [1 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [1 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: (166 42667) PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (0 285335) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (0 8193) PERIOD_BYTES: (0 32772) PERIODS: (0 4294967295] BUFFER_TIME: (5 32768000] BUFFER_SIZE: [3 131072] BUFFER_BYTES: [4 524288] TICK_TIME: ALL Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[4 524288] BUFFER_SIZE=[3 131072] Rule 8 (0xffff80eae100): RATE=[22050 192000] -> [22050 192000] BUFFER_SIZE=[3 131072] BUFFER_TIME=(5 32768000] Rule 9 (0xffff80eae250): PERIODS=(0 4294967295] -> (0 4294967295] BUFFER_SIZE=[3 131072] PERIOD_SIZE=(0 8193) Rule 10 (0xffff80eae250): PERIOD_SIZE=(0 8193) -> (0 8193) BUFFER_SIZE=[3 131072] PERIODS=(0 4294967295] Rule 12 (0xffff80eae050): PERIOD_SIZE=(0 8193) -> (3 8193) PERIOD_TIME=(166 42667) RATE=[22050 192000] Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[3 131072] -> [3 131072] PERIOD_SIZE=(3 8193) PERIODS=(0 4294967295] Rule 15 (0xffff80eae050): BUFFER_SIZE=[3 131072] -> [3 131072] BUFFER_TIME=(5 32768000] RATE=[22050 192000] Rule 16 (0xffff80eae050): PERIOD_BYTES=(0 32772) -> (12 32772) PERIOD_SIZE=(3 8193) FRAME_BITS=32 Rule 17 (0xffff80eae050): BUFFER_BYTES=[4 524288] -> [12 524288] BUFFER_SIZE=[3 131072] FRAME_BITS=32 Rule 18 (0xffff80eae100): PERIOD_TIME=(166 42667) -> (166 42667) PERIOD_SIZE=(3 8193) RATE=[22050 192000] Rule 19 (0xffff80eae100): BUFFER_TIME=(5 32768000] -> (15 5944309) BUFFER_SIZE=[3 131072] RATE=[22050 192000] Rule 4 (0xffff80eae100): FRAME_BITS=32 -> 32 PERIOD_BYTES=(12 32772) PERIOD_SIZE=(3 8193) Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[12 524288] BUFFER_SIZE=[3 131072] Rule 7 (0xffff80eae100): RATE=[22050 192000] -> [22050 192000] PERIOD_SIZE=(3 8193) PERIOD_TIME=(166 42667) Rule 8 (0xffff80eae100): RATE=[22050 192000] -> [22050 192000] BUFFER_SIZE=[3 131072] BUFFER_TIME=(15 5944309) Rule 9 (0xffff80eae250): PERIODS=(0 4294967295] -> (0 43691) BUFFER_SIZE=[3 131072] PERIOD_SIZE=(3 8193) Rule 10 (0xffff80eae250): PERIOD_SIZE=(3 8193) -> (3 8193) BUFFER_SIZE=[3 131072] PERIODS=(0 43691) Rule 11 (0xffff80eae100): PERIOD_SIZE=(3 8193) -> (3 8193) PERIOD_BYTES=(12 32772) FRAME_BITS=32 Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[3 131072] -> [3 131072] PERIOD_SIZE=(3 8193) PERIODS=(0 43691) Rule 14 (0xffff80eae100): BUFFER_SIZE=[3 131072] -> [3 131072] BUFFER_BYTES=[12 524288] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[3 131072] -> [3 131072] BUFFER_TIME=(15 5944309) RATE=[22050 192000] refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 8193) PERIOD_BYTES: (12 32772) PERIODS: (0 43691) BUFFER_TIME: (15 5944309) BUFFER_SIZE: [3 131072] BUFFER_BYTES: [12 524288] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: (166 42667) PERIOD_SIZE: [8 2048] PERIOD_BYTES: [32 8192] PERIODS: [1 32] BUFFER_TIME: (166 682667) BUFFER_SIZE: [8 32768] BUFFER_BYTES: [32 131072] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 8193) PERIOD_BYTES: (12 32772) PERIODS: (0 43691) BUFFER_TIME: (15 5944309) BUFFER_SIZE: [3 131072] BUFFER_BYTES: [12 524288] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: (166 42667) PERIOD_SIZE: [8 2048] PERIOD_BYTES: [32 8192] PERIODS: [1 32] BUFFER_TIME: (166 682667) BUFFER_SIZE: [8 32768] BUFFER_BYTES: [32 131072] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 192000] PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 8193) PERIOD_BYTES: (12 32772) PERIODS: (0 43691) BUFFER_TIME: (15 5944309) BUFFER_SIZE: [3 131072] BUFFER_BYTES: [12 524288] TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 22050] PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 8193) PERIOD_BYTES: (12 32772) PERIODS: (0 43691) BUFFER_TIME: (15 5944309) BUFFER_SIZE: [3 131072] BUFFER_BYTES: [12 524288] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 22050] PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 8193) PERIOD_BYTES: (12 32772) PERIODS: (0 43691) BUFFER_TIME: (15 5944309) BUFFER_SIZE: [3 131072] BUFFER_BYTES: [12 524288] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: (166 42667) PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (6 285335) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [22050 22050] PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 8193) PERIOD_BYTES: (12 32772) PERIODS: (0 43691) BUFFER_TIME: (15 5944309) BUFFER_SIZE: [3 15052] BUFFER_BYTES: [12 524288] TICK_TIME: ALL Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[12 524288] BUFFER_SIZE=[3 15052] Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[3 15052] BUFFER_TIME=(15 5944309) Rule 9 (0xffff80eae250): PERIODS=(0 43691) -> (0 5018) BUFFER_SIZE=[3 15052] PERIOD_SIZE=(3 8193) Rule 10 (0xffff80eae250): PERIOD_SIZE=(3 8193) -> (3 8193) BUFFER_SIZE=[3 15052] PERIODS=(0 5018) Rule 12 (0xffff80eae050): PERIOD_SIZE=(3 8193) -> (3 941) PERIOD_TIME=(166 42667) RATE=22050 Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[3 15052] -> [3 15052] PERIOD_SIZE=(3 941) PERIODS=(0 5018) Rule 15 (0xffff80eae050): BUFFER_SIZE=[3 15052] -> [3 15052] BUFFER_TIME=(15 5944309) RATE=22050 Rule 16 (0xffff80eae050): PERIOD_BYTES=(12 32772) -> (12 3764) PERIOD_SIZE=(3 941) FRAME_BITS=32 Rule 17 (0xffff80eae050): BUFFER_BYTES=[12 524288] -> [12 60208] BUFFER_SIZE=[3 15052] FRAME_BITS=32 Rule 18 (0xffff80eae100): PERIOD_TIME=(166 42667) -> (166 42667) PERIOD_SIZE=(3 941) RATE=22050 Rule 19 (0xffff80eae100): BUFFER_TIME=(15 5944309) -> (136 682631) BUFFER_SIZE=[3 15052] RATE=22050 Rule 4 (0xffff80eae100): FRAME_BITS=32 -> 32 PERIOD_BYTES=(12 3764) PERIOD_SIZE=(3 941) Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[12 60208] BUFFER_SIZE=[3 15052] Rule 7 (0xffff80eae100): RATE=22050 -> 22050 PERIOD_SIZE=(3 941) PERIOD_TIME=(166 42667) Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[3 15052] BUFFER_TIME=(136 682631) Rule 9 (0xffff80eae250): PERIODS=(0 5018) -> (0 5018) BUFFER_SIZE=[3 15052] PERIOD_SIZE=(3 941) Rule 11 (0xffff80eae100): PERIOD_SIZE=(3 941) -> (3 941) PERIOD_BYTES=(12 3764) FRAME_BITS=32 Rule 14 (0xffff80eae100): BUFFER_SIZE=[3 15052] -> [3 15052] BUFFER_BYTES=[12 60208] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[3 15052] -> [3 15052] BUFFER_TIME=(136 682631) RATE=22050 refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 941) PERIOD_BYTES: (12 3764) PERIODS: (0 5018) BUFFER_TIME: (136 682631) BUFFER_SIZE: [3 15052] BUFFER_BYTES: [12 60208] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: (166 42667) PERIOD_SIZE: [8 2048] PERIOD_BYTES: [32 8192] PERIODS: [1 32] BUFFER_TIME: (166 682667) BUFFER_SIZE: [8 32768] BUFFER_BYTES: [32 131072] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 941) PERIOD_BYTES: (12 3764) PERIODS: (0 5018) BUFFER_TIME: (136 682631) BUFFER_SIZE: [3 15052] BUFFER_BYTES: [12 60208] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: (166 42667) PERIOD_SIZE: [8 2048] PERIOD_BYTES: [32 8192] PERIODS: [1 32] BUFFER_TIME: (166 682667) BUFFER_SIZE: [8 32768] BUFFER_BYTES: [32 131072] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: (166 42667) PERIOD_SIZE: (3 941) PERIOD_BYTES: (12 3764) PERIODS: (0 5018) BUFFER_TIME: (136 682631) BUFFER_SIZE: [3 15052] BUFFER_BYTES: [12 60208] TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: [16000 42667) PERIOD_SIZE: (3 941) PERIOD_BYTES: (12 3764) PERIODS: (0 5018) BUFFER_TIME: (136 682631) BUFFER_SIZE: [3 15052] BUFFER_BYTES: [12 60208] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: [16000 42667) PERIOD_SIZE: (3 941) PERIOD_BYTES: (12 3764) PERIODS: (0 5018) BUFFER_TIME: (136 682631) BUFFER_SIZE: [3 15052] BUFFER_BYTES: [12 60208] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: [16000 42667) PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (6 32770) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: [16000 42667) PERIOD_SIZE: (3 941) PERIOD_BYTES: (12 3764) PERIODS: (0 5018) BUFFER_TIME: (136 682631) BUFFER_SIZE: [352 15052] BUFFER_BYTES: [12 60208] TICK_TIME: ALL Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[12 60208] BUFFER_SIZE=[352 15052] Rule 7 (0xffff80eae100): RATE=22050 -> 22050 PERIOD_SIZE=(3 941) PERIOD_TIME=[16000 42667) Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[352 15052] BUFFER_TIME=(136 682631) Rule 9 (0xffff80eae250): PERIODS=(0 5018) -> (0 5018) BUFFER_SIZE=[352 15052] PERIOD_SIZE=(3 941) Rule 10 (0xffff80eae250): PERIOD_SIZE=(3 941) -> (3 941) BUFFER_SIZE=[352 15052] PERIODS=(0 5018) Rule 12 (0xffff80eae050): PERIOD_SIZE=(3 941) -> (352 941) PERIOD_TIME=[16000 42667) RATE=22050 Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[352 15052] -> [352 15052] PERIOD_SIZE=(352 941) PERIODS=(0 5018) Rule 16 (0xffff80eae050): PERIOD_BYTES=(12 3764) -> (1408 3764) PERIOD_SIZE=(352 941) FRAME_BITS=32 Rule 17 (0xffff80eae050): BUFFER_BYTES=[12 60208] -> [1408 60208] BUFFER_SIZE=[352 15052] FRAME_BITS=32 Rule 18 (0xffff80eae100): PERIOD_TIME=[16000 42667) -> [16000 42667) PERIOD_SIZE=(352 941) RATE=22050 Rule 19 (0xffff80eae100): BUFFER_TIME=(136 682631) -> (15963 682631) BUFFER_SIZE=[352 15052] RATE=22050 Rule 4 (0xffff80eae100): FRAME_BITS=32 -> 32 PERIOD_BYTES=(1408 3764) PERIOD_SIZE=(352 941) Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[1408 60208] BUFFER_SIZE=[352 15052] Rule 7 (0xffff80eae100): RATE=22050 -> 22050 PERIOD_SIZE=(352 941) PERIOD_TIME=[16000 42667) Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[352 15052] BUFFER_TIME=(15963 682631) Rule 9 (0xffff80eae250): PERIODS=(0 5018) -> (0 43) BUFFER_SIZE=[352 15052] PERIOD_SIZE=(352 941) Rule 10 (0xffff80eae250): PERIOD_SIZE=(352 941) -> (352 941) BUFFER_SIZE=[352 15052] PERIODS=(0 43) Rule 11 (0xffff80eae100): PERIOD_SIZE=(352 941) -> (352 941) PERIOD_BYTES=(1408 3764) FRAME_BITS=32 Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[352 15052] -> [352 15052] PERIOD_SIZE=(352 941) PERIODS=(0 43) Rule 14 (0xffff80eae100): BUFFER_SIZE=[352 15052] -> [352 15052] BUFFER_BYTES=[1408 60208] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[352 15052] -> [352 15052] BUFFER_TIME=(15963 682631) RATE=22050 refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: [16000 42667) PERIOD_SIZE: (352 941) PERIOD_BYTES: (1408 3764) PERIODS: (0 43) BUFFER_TIME: (15963 682631) BUFFER_SIZE: [352 15052] BUFFER_BYTES: [1408 60208] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: [16000 42667) PERIOD_SIZE: [768 2048] PERIOD_BYTES: [3072 8192] PERIODS: [1 32] BUFFER_TIME: [16000 682667) BUFFER_SIZE: [768 32768] BUFFER_BYTES: [3072 131072] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: [16000 42667) PERIOD_SIZE: (352 941) PERIOD_BYTES: (1408 3764) PERIODS: (0 43) BUFFER_TIME: (15963 682631) BUFFER_SIZE: [352 15052] BUFFER_BYTES: [1408 60208] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: [16000 42667) PERIOD_SIZE: [768 2048] PERIOD_BYTES: [3072 8192] PERIODS: [1 32] BUFFER_TIME: [16000 682667) BUFFER_SIZE: [768 32768] BUFFER_BYTES: [3072 131072] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: [16000 42667) PERIOD_SIZE: (352 941) PERIOD_BYTES: (1408 3764) PERIODS: (0 43) BUFFER_TIME: (15963 682631) BUFFER_SIZE: [352 15052] BUFFER_BYTES: [1408 60208] TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: [16000 16000] PERIOD_SIZE: (352 941) PERIOD_BYTES: (1408 3764) PERIODS: (0 43) BUFFER_TIME: (15963 682631) BUFFER_SIZE: [352 15052] BUFFER_BYTES: [1408 60208] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: [16000 16000] PERIOD_SIZE: (352 941) PERIOD_BYTES: (1408 3764) PERIODS: (0 43) BUFFER_TIME: (15963 682631) BUFFER_SIZE: [352 15052] BUFFER_BYTES: [1408 60208] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: 16000 PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (766 32770) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 941) PERIOD_BYTES: (1408 3764) PERIODS: (0 43) BUFFER_TIME: (15963 682631) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 60208] TICK_TIME: ALL Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[1408 60208] BUFFER_SIZE=[352 11289] Rule 7 (0xffff80eae100): RATE=22050 -> 22050 PERIOD_SIZE=(352 941) PERIOD_TIME=16000 Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[352 11289] BUFFER_TIME=(15963 682631) Rule 9 (0xffff80eae250): PERIODS=(0 43) -> (0 33) BUFFER_SIZE=[352 11289] PERIOD_SIZE=(352 941) Rule 10 (0xffff80eae250): PERIOD_SIZE=(352 941) -> (352 941) BUFFER_SIZE=[352 11289] PERIODS=(0 33) Rule 12 (0xffff80eae050): PERIOD_SIZE=(352 941) -> (352 353) PERIOD_TIME=16000 RATE=22050 Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[352 11289] -> [352 11289] PERIOD_SIZE=(352 353) PERIODS=(0 33) Rule 16 (0xffff80eae050): PERIOD_BYTES=(1408 3764) -> (1408 1412) PERIOD_SIZE=(352 353) FRAME_BITS=32 Rule 17 (0xffff80eae050): BUFFER_BYTES=[1408 60208] -> [1408 45156] BUFFER_SIZE=[352 11289] FRAME_BITS=32 Rule 18 (0xffff80eae100): PERIOD_TIME=16000 -> 16000 PERIOD_SIZE=(352 353) RATE=22050 Rule 19 (0xffff80eae100): BUFFER_TIME=(15963 682631) -> (15963 511973) BUFFER_SIZE=[352 11289] RATE=22050 Rule 4 (0xffff80eae100): FRAME_BITS=32 -> 32 PERIOD_BYTES=(1408 1412) PERIOD_SIZE=(352 353) Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[1408 45156] BUFFER_SIZE=[352 11289] Rule 7 (0xffff80eae100): RATE=22050 -> 22050 PERIOD_SIZE=(352 353) PERIOD_TIME=16000 Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[352 11289] BUFFER_TIME=(15963 511973) Rule 9 (0xffff80eae250): PERIODS=(0 33) -> (0 33) BUFFER_SIZE=[352 11289] PERIOD_SIZE=(352 353) Rule 11 (0xffff80eae100): PERIOD_SIZE=(352 353) -> (352 353) PERIOD_BYTES=(1408 1412) FRAME_BITS=32 Rule 14 (0xffff80eae100): BUFFER_SIZE=[352 11289] -> [352 11289] BUFFER_BYTES=[1408 45156] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[352 11289] -> [352 11289] BUFFER_TIME=(15963 511973) RATE=22050 refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: (15963 511973) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [1 32] BUFFER_TIME: [16000 512000] BUFFER_SIZE: [768 24576] BUFFER_BYTES: [3072 98304] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: (15963 511973) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [1 32] BUFFER_TIME: [16000 512000] BUFFER_SIZE: [768 24576] BUFFER_BYTES: [3072 98304] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: (15963 511973) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: [32000 511973) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: [32000 511973) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: 16000 PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (766 24578) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: [32000 511973) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[352 11289] BUFFER_TIME=[32000 511973) Rule 15 (0xffff80eae050): BUFFER_SIZE=[352 11289] -> [706 11289] BUFFER_TIME=[32000 511973) RATE=22050 Rule 17 (0xffff80eae050): BUFFER_BYTES=[1408 45156] -> [2824 45156] BUFFER_SIZE=[706 11289] FRAME_BITS=32 Rule 19 (0xffff80eae100): BUFFER_TIME=[32000 511973) -> (32018 511973) BUFFER_SIZE=[706 11289] RATE=22050 Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[2824 45156] BUFFER_SIZE=[706 11289] Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[706 11289] BUFFER_TIME=(32018 511973) Rule 9 (0xffff80eae250): PERIODS=(0 33) -> (2 33) BUFFER_SIZE=[706 11289] PERIOD_SIZE=(352 353) Rule 10 (0xffff80eae250): PERIOD_SIZE=(352 353) -> (352 353) BUFFER_SIZE=[706 11289] PERIODS=(2 33) Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[706 11289] -> [706 11289] PERIOD_SIZE=(352 353) PERIODS=(2 33) Rule 14 (0xffff80eae100): BUFFER_SIZE=[706 11289] -> [706 11289] BUFFER_BYTES=[2824 45156] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[706 11289] -> [706 11289] BUFFER_TIME=(32018 511973) RATE=22050 refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (2 33) BUFFER_TIME: (32018 511973) BUFFER_SIZE: [706 11289] BUFFER_BYTES: [2824 45156] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [1 32] BUFFER_TIME: [16000 512000] BUFFER_SIZE: [768 24576] BUFFER_BYTES: [3072 98304] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (2 33) BUFFER_TIME: (32018 511973) BUFFER_SIZE: [706 11289] BUFFER_BYTES: [2824 45156] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [1 32] BUFFER_TIME: [16000 512000] BUFFER_SIZE: [1537 24576] BUFFER_BYTES: [3072 98304] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (2 33) BUFFER_TIME: (32018 511973) BUFFER_SIZE: [1058 11289] BUFFER_BYTES: [2824 45156] TICK_TIME: ALL Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[2824 45156] BUFFER_SIZE=[1058 11289] Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[1058 11289] BUFFER_TIME=(32018 511973) Rule 9 (0xffff80eae250): PERIODS=(2 33) -> (2 33) BUFFER_SIZE=[1058 11289] PERIOD_SIZE=(352 353) Rule 10 (0xffff80eae250): PERIOD_SIZE=(352 353) -> (352 353) BUFFER_SIZE=[1058 11289] PERIODS=(2 33) Rule 17 (0xffff80eae050): BUFFER_BYTES=[2824 45156] -> [4232 45156] BUFFER_SIZE=[1058 11289] FRAME_BITS=32 Rule 19 (0xffff80eae100): BUFFER_TIME=(32018 511973) -> (47981 511973) BUFFER_SIZE=[1058 11289] RATE=22050 Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[4232 45156] BUFFER_SIZE=[1058 11289] Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[1058 11289] BUFFER_TIME=(47981 511973) Rule 14 (0xffff80eae100): BUFFER_SIZE=[1058 11289] -> [1058 11289] BUFFER_BYTES=[4232 45156] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[1058 11289] -> [1058 11289] BUFFER_TIME=(47981 511973) RATE=22050 refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (2 33) BUFFER_TIME: (47981 511973) BUFFER_SIZE: [1058 11289] BUFFER_BYTES: [4232 45156] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [3 32] BUFFER_TIME: [48000 512000] BUFFER_SIZE: [2304 24576] BUFFER_BYTES: [9216 98304] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (2 33) BUFFER_TIME: (47981 511973) BUFFER_SIZE: [1058 11289] BUFFER_BYTES: [4232 45156] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [3 32] BUFFER_TIME: [48000 512000] BUFFER_SIZE: [2304 24576] BUFFER_BYTES: [9216 98304] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (2 33) BUFFER_TIME: (47981 511973) BUFFER_SIZE: [1058 11289] BUFFER_BYTES: [4232 45156] TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: (15963 32000) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: (15963 32000) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: 16000 PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (766 24578) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 33) BUFFER_TIME: (15963 32000) BUFFER_SIZE: [352 11289] BUFFER_BYTES: [1408 45156] TICK_TIME: ALL Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[352 11289] BUFFER_TIME=(15963 32000) Rule 15 (0xffff80eae050): BUFFER_SIZE=[352 11289] -> [352 705] BUFFER_TIME=(15963 32000) RATE=22050 Rule 17 (0xffff80eae050): BUFFER_BYTES=[1408 45156] -> [1408 2820] BUFFER_SIZE=[352 705] FRAME_BITS=32 Rule 19 (0xffff80eae100): BUFFER_TIME=(15963 32000) -> (15963 31973) BUFFER_SIZE=[352 705] RATE=22050 Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=[1408 2820] BUFFER_SIZE=[352 705] Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[352 705] BUFFER_TIME=(15963 31973) Rule 9 (0xffff80eae250): PERIODS=(0 33) -> (0 3) BUFFER_SIZE=[352 705] PERIOD_SIZE=(352 353) Rule 10 (0xffff80eae250): PERIOD_SIZE=(352 353) -> (352 353) BUFFER_SIZE=[352 705] PERIODS=(0 3) Rule 13 (0xffff80eae1b0): BUFFER_SIZE=[352 705] -> [352 705] PERIOD_SIZE=(352 353) PERIODS=(0 3) Rule 14 (0xffff80eae100): BUFFER_SIZE=[352 705] -> [352 705] BUFFER_BYTES=[1408 2820] FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=[352 705] -> [352 705] BUFFER_TIME=(15963 31973) RATE=22050 refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 3) BUFFER_TIME: (15963 31973) BUFFER_SIZE: [352 705] BUFFER_BYTES: [1408 2820] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [1 32] BUFFER_TIME: [16000 512000] BUFFER_SIZE: [768 24576] BUFFER_BYTES: [3072 98304] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 3) BUFFER_TIME: (15963 31973) BUFFER_SIZE: [352 705] BUFFER_BYTES: [1408 2820] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [1 32] BUFFER_TIME: [16000 512000] BUFFER_SIZE: [768 1536] BUFFER_BYTES: [3072 98304] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 3) BUFFER_TIME: (15963 31973) BUFFER_SIZE: [352 705] BUFFER_BYTES: [1408 2820] TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 3) BUFFER_TIME: [31972 31973) BUFFER_SIZE: [352 705] BUFFER_BYTES: [1408 2820] TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 3) BUFFER_TIME: [31972 31973) BUFFER_SIZE: [352 705] BUFFER_BYTES: [1408 2820] TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: 16000 PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (766 1537) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (0 3) BUFFER_TIME: [31972 31973) BUFFER_SIZE: [352 705] BUFFER_BYTES: [1408 2820] TICK_TIME: ALL Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=[352 705] BUFFER_TIME=[31972 31973) Rule 15 (0xffff80eae050): BUFFER_SIZE=[352 705] -> 705 BUFFER_TIME=[31972 31973) RATE=22050 Rule 17 (0xffff80eae050): BUFFER_BYTES=[1408 2820] -> 2820 BUFFER_SIZE=705 FRAME_BITS=32 Rule 19 (0xffff80eae100): BUFFER_TIME=[31972 31973) -> (31972 31973) BUFFER_SIZE=705 RATE=22050 Rule 5 (0xffff80eae100): FRAME_BITS=32 -> 32 BUFFER_BYTES=2820 BUFFER_SIZE=705 Rule 8 (0xffff80eae100): RATE=22050 -> 22050 BUFFER_SIZE=705 BUFFER_TIME=(31972 31973) Rule 9 (0xffff80eae250): PERIODS=(0 3) -> (1 3) BUFFER_SIZE=705 PERIOD_SIZE=(352 353) Rule 10 (0xffff80eae250): PERIOD_SIZE=(352 353) -> (352 353) BUFFER_SIZE=705 PERIODS=(1 3) Rule 13 (0xffff80eae1b0): BUFFER_SIZE=705 -> 705 PERIOD_SIZE=(352 353) PERIODS=(1 3) Rule 14 (0xffff80eae100): BUFFER_SIZE=705 -> 705 BUFFER_BYTES=2820 FRAME_BITS=32 Rule 15 (0xffff80eae050): BUFFER_SIZE=705 -> 705 BUFFER_TIME=(31972 31973) RATE=22050 refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [1 2] BUFFER_TIME: [16000 32000] BUFFER_SIZE: [768 1536] BUFFER_BYTES: [3072 6144] TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: [1 2] BUFFER_TIME: [16000 32000] BUFFER_SIZE: [1535 1536] BUFFER_BYTES: [3072 6144] TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: ALL schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: ALL srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: 16000 PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (1534 1537) BUFFER_BYTES: ALL TICK_TIME: ALL cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: ALL refine_soft ok 'test_rate' refine_slave - leave 'test_rate' hw_refine_slave - enter 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: [0 0] schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: ALL SUBFORMAT: ALL SAMPLE_BITS: ALL FRAME_BITS: ALL CHANNELS: ALL RATE: [48000 48001) PERIOD_TIME: ALL PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: ALL BUFFER_BYTES: ALL TICK_TIME: ALL srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: [0 0] srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [48000 48001) PERIOD_TIME: 16000 PERIOD_SIZE: ALL PERIOD_BYTES: ALL PERIODS: ALL BUFFER_TIME: ALL BUFFER_SIZE: (1534 1537) BUFFER_BYTES: ALL TICK_TIME: 0 cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: 0 refine_soft ok 'test_rate' schange 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: 0 schange 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: 2 BUFFER_TIME: 32000 BUFFER_SIZE: 1536 BUFFER_BYTES: 6144 TICK_TIME: 0 srefine 'test_rate' (client) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: 0 srefine 'test_rate' (slave) ACCESS: MMAP_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 48000 PERIOD_TIME: 16000 PERIOD_SIZE: 768 PERIOD_BYTES: 3072 PERIODS: 2 BUFFER_TIME: 32000 BUFFER_SIZE: 1536 BUFFER_BYTES: 6144 TICK_TIME: 0 cchange 'test_rate' refine_soft 'test_rate' refine_soft 'test_rate' (begin) ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 22050 PERIOD_TIME: 16000 PERIOD_SIZE: (352 353) PERIOD_BYTES: (1408 1412) PERIODS: (1 3) BUFFER_TIME: (31972 31973) BUFFER_SIZE: 705 BUFFER_BYTES: 2820 TICK_TIME: 0 refine_soft ok 'test_rate' refine_slave - leave 'test_rate' Rate conversion PCM (48000) Converter: linear-interpolation Protocol version: 10002 Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 22050 exact rate : 22050 (22050/1) msbits : 16 buffer_size : 705 period_size : 353 period_time : 16000 tstamp_mode : NONE tstamp_type : MONOTONIC period_step : 1 avail_min : 353 period_event : 0 start_threshold : 705 stop_threshold : 705 silence_threshold: 0 silence_size : 0 boundary : 3175037737296199680 Slave: Hardware PCM card 3 'gmd-card' device 0 subdevice 0 Its setup is: stream : PLAYBACK access : MMAP_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 1536 period_size : 768 period_time : 16000 tstamp_mode : NONE tstamp_type : MONOTONIC period_step : 1 avail_min : 768 period_event : 0 start_threshold : 1536 stop_threshold : 1536 silence_threshold: 0 silence_size : 0 boundary : 6917529027641081856 appl_ptr : 0 hw_ptr : 0 underrun!!! (at least 16.193 ms long) Status: state : XRUN trigger_time: 599.630072 tstamp : 0.000000 delay : 352 avail : 353 avail_max : 706
If I should provide anything else feel free to ask.
Best regards
Timo