make sure liquidsoap converts audio sources to stereo
This commit is contained in:
		@ -77,9 +77,9 @@ set("{{ key|safe }}", {{ value|safe }})
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{% block sources %}
 | 
					{% block sources %}
 | 
				
			||||||
{% with source=streamer.dealer %}
 | 
					{% with source=streamer.dealer %}
 | 
				
			||||||
live = interactive('{{ source.id }}',
 | 
					live = audio_to_stereo(interactive('{{ source.id }}',
 | 
				
			||||||
    request.queue(id="{{ source.id }}_queue")
 | 
					    request.queue(id="{{ source.id }}_queue")
 | 
				
			||||||
)
 | 
					))
 | 
				
			||||||
{% endwith %}
 | 
					{% endwith %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -89,12 +89,12 @@ streams = rotate(id="streams", [
 | 
				
			|||||||
    {% with stream=source.stream %}
 | 
					    {% with stream=source.stream %}
 | 
				
			||||||
        {% if stream.delay %}
 | 
					        {% if stream.delay %}
 | 
				
			||||||
        delay({{ stream.delay }}.,
 | 
					        delay({{ stream.delay }}.,
 | 
				
			||||||
              stream("{{ source.id }}", "{{ source.path }}")),
 | 
					              audio_to_stereo(stream("{{ source.id }}", "{{ source.path }}"))),
 | 
				
			||||||
        {% elif stream.begin and stream.end %}
 | 
					        {% elif stream.begin and stream.end %}
 | 
				
			||||||
        at({ {{stream.begin}}-{{stream.end}} },
 | 
					        at({ {{stream.begin}}-{{stream.end}} },
 | 
				
			||||||
           stream("{{ source.id }}", "{{ source.path }}")),
 | 
					           audio_to_stereo(stream("{{ source.id }}", "{{ source.path }}"))),
 | 
				
			||||||
        {% else %}
 | 
					        {% else %}
 | 
				
			||||||
        stream("{{ source.id }}", "{{ source.path }}"),
 | 
					        audio_to_stereo(stream("{{ source.id }}", "{{ source.path }}")),
 | 
				
			||||||
        {% endif %}
 | 
					        {% endif %}
 | 
				
			||||||
    {% endwith %}
 | 
					    {% endwith %}
 | 
				
			||||||
    {% endif %}
 | 
					    {% endif %}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user