aboutsummaryrefslogblamecommitdiffstats
path: root/tests/ref/fate/audio_fifo
blob: 6c6538b566d142a1abbafbaba00accda8dd5a705 (plain) (tree)


































































































































































































































                                                                                                           
TEST: 1

written: 12
written: 12
remaining samples in audio_fifo: 24

read: 12
00 01 02 03 04 05 06 07 08 09 0a 0b
remaining samples in audio_fifo: 12

peek:
00 01 02 03 04 05 06 07 08 09 0a 0b

peek_at:
0:
00
1:
01
2:
02
3:
03
4:
04
5:
05
6:
06
7:
07
8:
08
9:
09
10:
0a
11:
0b


TEST: 2

written: 6
written: 6
remaining samples in audio_fifo: 12

read: 6
00 01 02 03 04 05
06 07 08 09 0a 0b
remaining samples in audio_fifo: 6

peek:
00 01 02 03 04 05
06 07 08 09 0a 0b

peek_at:
0:
00
06
1:
01
07
2:
02
08
3:
03
09
4:
04
0a
5:
05
0b


TEST: 3

written: 12
written: 12
remaining samples in audio_fifo: 24

read: 12
0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000a 000b
remaining samples in audio_fifo: 12

peek:
0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000a 000b

peek_at:
0:
0000
1:
0001
2:
0002
3:
0003
4:
0004
5:
0005
6:
0006
7:
0007
8:
0008
9:
0009
10:
000a
11:
000b


TEST: 4

written: 6
written: 6
remaining samples in audio_fifo: 12

read: 6
0000 0001 0002 0003 0004 0005
0006 0007 0008 0009 000a 000b
remaining samples in audio_fifo: 6

peek:
0000 0001 0002 0003 0004 0005
0006 0007 0008 0009 000a 000b

peek_at:
0:
0000
0006
1:
0001
0007
2:
0002
0008
3:
0003
0009
4:
0004
000a
5:
0005
000b


TEST: 5

written: 12
written: 12
remaining samples in audio_fifo: 24

read: 12
00000000 3f800000 40000000 40400000 40800000 40a00000 40c00000 40e00000 41000000 41100000 41200000 41300000
remaining samples in audio_fifo: 12

peek:
00000000 3f800000 40000000 40400000 40800000 40a00000 40c00000 40e00000 41000000 41100000 41200000 41300000

peek_at:
0:
00000000
1:
3f800000
2:
40000000
3:
40400000
4:
40800000
5:
40a00000
6:
40c00000
7:
40e00000
8:
41000000
9:
41100000
10:
41200000
11:
41300000


TEST: 6

written: 6
written: 6
remaining samples in audio_fifo: 12

read: 6
00000000 3f800000 40000000 40400000 40800000 40a00000
40c00000 40e00000 41000000 41100000 41200000 41300000
remaining samples in audio_fifo: 6

peek:
00000000 3f800000 40000000 40400000 40800000 40a00000
40c00000 40e00000 41000000 41100000 41200000 41300000

peek_at:
0:
00000000
40c00000
1:
3f800000
40e00000
2:
40000000
41000000
3:
40400000
41100000
4:
40800000
41200000
5:
40a00000
41300000