mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
capture: Add the passthrough format negotiation to capture streams.
This helps to keep the API more symmetrical and also potentially allows support for passthrough monitor sources at some point in the future.
This commit is contained in:
parent
30597b7c27
commit
5d35375aa7
18 changed files with 406 additions and 104 deletions
|
|
@ -325,7 +325,7 @@ int pa__init(pa_module*m) {
|
|||
pa_proplist_setf(data.proplist, "rtp.ttl", "%lu", (unsigned long) ttl);
|
||||
data.driver = __FILE__;
|
||||
data.module = m;
|
||||
data.source = s;
|
||||
pa_source_output_new_data_set_source(&data, s, FALSE);
|
||||
pa_source_output_new_data_set_sample_spec(&data, &ss);
|
||||
pa_source_output_new_data_set_channel_map(&data, &cm);
|
||||
data.flags = PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue