add_pulse_chmap.patch
src_new/audacious-plugins-3.3.2/src/pulse_audio/pulse_audio.c 2012-09-24 02:02:19.986001973 -0300 | ||
---|---|---|
542 | 542 |
goto unlock_and_fail; |
543 | 543 |
} |
544 | 544 | |
545 |
if (!(stream = pa_stream_new(context, "Audacious", &ss, NULL))) { |
|
545 |
pa_channel_map cmap; |
|
546 |
pa_channel_map_init_auto(&cmap, nch, PA_CHANNEL_MAP_WAVEEX); |
|
547 | ||
548 |
if (!(stream = pa_stream_new(context, "Audacious", &ss, &cmap))) { |
|
546 | 549 |
ERROR ("Failed to create stream: %s", pa_strerror(pa_context_errno(context))); |
547 | 550 |
goto unlock_and_fail; |
548 | 551 |
} |