摘要: module-alsa-sink.c sink-input.c 阅读全文
posted @ 2020-11-22 18:17 renhl 阅读(127) 评论(0) 推荐(0)
摘要: pa_sink_input_peek() 从queue中peek出数据 如果有resample,进行resample处理,返回resample后的数据;如果没有resample,返回peek后的数据 pa_sink_input_new() 参数与sink的参数进行比较,如果一致,不创建resampl 阅读全文
posted @ 2020-11-22 17:24 renhl 阅读(254) 评论(0) 推荐(0)
摘要: pa_module_init snd_pcm_open() pa_alsa_set_hw_params() pa_sink_new() 声卡可以写入时回调io_callback() -> do_write() -> pa_sink_render() 将各个sink-input数据进行mix,如果所有 阅读全文
posted @ 2020-11-22 17:18 renhl 阅读(275) 评论(0) 推荐(0)
摘要: • pulseaudio官网 https://www.freedesktop.org/wiki/Software/PulseAudio/ • pulseaudio-under-the-hood https://gavv.github.io/articles/pulseaudio-under-the- 阅读全文
posted @ 2020-11-22 16:07 renhl 阅读(187) 评论(0) 推荐(0)
摘要: ■ TCP 代码结构 参考: https://blog.csdn.net/qq_33951180/article/details/68066634 ■ socket-client • 创建socket socket-client.c -> pa_socket_client_new_unix() -> 阅读全文
posted @ 2020-11-22 12:06 renhl 阅读(124) 评论(0) 推荐(0)