Subversion Repositories Kolibri OS

Rev

Rev 1635 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1635 Rev 2010
Line 27... Line 27...
27
 
27
 
28
           lea eax, [fpu_state+16]
28
           lea eax, [fpu_state+16]
29
           and eax, -16             ;must be 16b aligned
29
           and eax, -16             ;must be 16b aligned
Line 30... Line 30...
30
           call FpuSave
30
           call FpuSave
31
 
31
 
32
           call update_stream
32
           call update_streams
33
.mix:
33
.mix:
34
           lea eax, [mix_list]
34
           lea eax, [mix_list]
35
           call do_mix_list
35
           call do_mix_list
Line 85... Line 85...
85
           rep stosd
85
           rep stosd
86
           ret
86
           ret
87
endp
87
endp
Line 88... Line 88...
88
 
88
 
89
align 4
89
align 4
90
proc update_stream
90
proc update_streams
91
           locals
91
           locals
92
             stream_index  dd ?
92
             stream_index  dd ?
93
             event         rd 6
93
             event         rd 6
Line 94... Line 94...
94
           endl
94
           endl
95
 
95
 
96
           mov [stream_index], 0
96
           mov [stream_index], 0
97
.l1:
97
.l1:
Line -... Line 98...
-
 
98
           mov edx, [stream_index]
-
 
99
           mov esi, [play_list+edx*4]
-
 
100
 
-
 
101
           add dword [esi+STREAM.time_stamp], 4096
98
           mov edx, [stream_index]
102
           adc dword [esi+STREAM.time_stamp+4], 0
99
           mov esi, [play_list+edx*4]
103
           mov dword [esi+STREAM.last_ts], 0
100
 
104
 
101
           mov eax, [esi+STREAM.out_rp]
105
           mov eax, [esi+STREAM.out_rp]
102
           cmp eax, [esi+STREAM.out_top]
106
           cmp eax, [esi+STREAM.out_top]