# | Line 326 | Line 326 | static void *stream_func(void *arg) | |
---|---|---|
326 | for (int i=0; i<work_size/2; i++) | |
327 | last_buffer[i] = ntohs(p[i]); | |
328 | } else | |
329 | < | memcpy(last_buffer, Mac2HostAddr(ReadMacInt32(apple_stream_info + scd_buffer)), work_size); |
329 | > | Mac2Host_memcpy(last_buffer, ReadMacInt32(apple_stream_info + scd_buffer), work_size); |
330 | memset((uint8 *)last_buffer + work_size, silence_byte, sound_buffer_size - work_size); | |
331 | write(audio_fd, last_buffer, sound_buffer_size); | |
332 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |