diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-11-13 17:37:44 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-11-13 17:37:44 +0000 |
commit | d17bb53d3ebfbd7046719400264bd87830c140d8 (patch) | |
tree | 1109700c79559f391d0edfb2f9db82252f5010f4 /src/pulsecore/protocol-esound.c | |
parent | f7528825257d5d4b056268da3c82181f520a8ff6 (diff) |
Completely rework ALSA device selection code: choose the device to open depending on the requested number of channels and channel map. In most cases it will now suffice to set default-channels=6 to enable 5.1 sound for all devices that support it
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2050 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/protocol-esound.c')
-rw-r--r-- | src/pulsecore/protocol-esound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-esound.c b/src/pulsecore/protocol-esound.c index 76ba9dd0..004e535e 100644 --- a/src/pulsecore/protocol-esound.c +++ b/src/pulsecore/protocol-esound.c @@ -1406,7 +1406,7 @@ static void on_connection(pa_socket_server*s, pa_iochannel *io, void *userdata) pa_protocol_esound* pa_protocol_esound_new(pa_core*core, pa_socket_server *server, pa_module *m, pa_modargs *ma) { pa_protocol_esound *p = NULL; - int public = 0; + pa_bool_t public = FALSE; const char *acl; pa_assert(core); |