# https://wiki.archlinux.org/index.php/PulseAudio/Examples#PulseAudio_through_JACK_the_new_new_way # Not sure if I need this pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse } # http://wiki.linuxquestions.org/wiki/M-Audio_Quattro#Configuring_Alsa_with_.2Froot.2F.asoundrc # ftpro1 is pcm0 which has a maximum sample rate of 44100 and 16 # bit stereo pcm.ftpro1 { type hw card 1 device 0 } ctl.ftpro1 { type hw card 1 } # ftpro2 is pcm1 pcm.ftpro2 { type hw card 1 device 1 } ctl.ftpro2 { type hw card 1 } #---- # # compose 4 channels from two channel x two devices, hw:2,1 and # hw:2,2 # assuming that hw:2,1 and hw:2,2 give the same condition, 24_3LE/96k # pcm.ftpro { type multi; slaves.a.pcm "hw:1,0"; slaves.a.channels 2; slaves.b.pcm "hw:1,1"; slaves.b.channels 2; bindings.0.slave a; bindings.0.channel 0; bindings.1.slave a; bindings.1.channel 1; bindings.2.slave b; bindings.2.channel 0; bindings.3.slave b; bindings.3.channel 1; } ctl.ftpro { type hw; card 1; } # # Remap 4 channels as interleaved. # Use plug instead of route here, since 24_3LE is unlikely supported # by applications. # # arecord -r 44100 -c 4 -f s16_le -D q4 -d 5 /home/xxx/q4.wav pcm.ft4 { type route; slave.pcm "ftpro"; ttable.0.0 1; ttable.1.1 1; ttable.2.2 1; ttable.3.3 1; } ctl.ft4 { type hw; card 1; }