{"id":100,"date":"2009-01-23T14:30:19","date_gmt":"2009-01-23T19:30:19","guid":{"rendered":"http:\/\/bda.ath.cx\/blog\/?p=100"},"modified":"2009-01-24T13:23:58","modified_gmt":"2009-01-24T18:23:58","slug":"pulseaudio-module-combine-arguments","status":"publish","type":"post","link":"https:\/\/bda.ath.cx\/blog\/2009\/01\/23\/pulseaudio-module-combine-arguments\/","title":{"rendered":"pulseaudio module-combine arguments"},"content":{"rendered":"<p>I installed pulseaudio 0.9.13 in sidux (from experimental), and discovered that the <a title=\"FAQ\" href=\"http:\/\/www.pulseaudio.org\/wiki\/FAQ#CanIusePulseAudiotoplaybackmusicontwosoundcardssimultaneously\">FAQ<\/a> about sending playback to two devices simultaneously is out of date. The correct syntax is:<\/p>\n<pre class=\"wiki\">load-module module-combine sink_name=combined slaves=output0,output1<\/pre>\n<p>i.e. the master argument is no longer used. I discovered this by looking at src\/modules\/module-combine.c:<\/p>\n<pre>...\r\nPA_MODULE_USAGE(\r\n\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \"sink_name=&lt;name for the sink&gt; \"\r\n\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \"slaves=&lt;slave sinks&gt; \"\r\n\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \"adjust_time=&lt;seconds&gt; \"\r\n\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \"resample_method=&lt;method&gt; \"\r\n\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \"format=&lt;sample format&gt; \"\r\n\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \"channels=&lt;number of channels&gt; \"\r\n\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \"rate=&lt;sample rate&gt; \"\r\n\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 \"channel_map=&lt;channel map&gt;\");\r\n...<\/pre>\n<p>It&#8217;s always refreshing to see such clear code!<\/p>\n<p>Some clients don&#8217;t seem to respect set-default-sink. I used pavucontrol to move the streams, but when playing youtube videos the process didn&#8217;t show up, so I was stuck with single card output.<\/p>\n<p>UPDATE: Pulse remembers stream\/sink associations, so if you run a program before using set-default-sink combined, then you will need to move it manually with pavucontrol. I also fixed my problem with flash\/youtube. I was using flash 10 through nspluginwrapper, which was ignoring my asound.conf settings making pulse the default and using my sound card directly. Switching to the native 64-bit flash plugin (installed from marillat experimental) fixed the problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I installed pulseaudio 0.9.13 in sidux (from experimental), and discovered that the FAQ about sending playback to two devices simultaneously is out of date. The correct syntax is: load-module module-combine sink_name=combined slaves=output0,output1 i.e. the master argument is no longer used. I discovered this by looking at src\/modules\/module-combine.c: &#8230; PA_MODULE_USAGE( \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 &#8220;sink_name=&lt;name for the sink&gt; &#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":4,"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":103,"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions\/103"}],"wp:attachment":[{"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}