[pulseaudio-discuss] [PATCH v2 0/3] alsa: Support for only-multichannel devices
Raymond Yau
superquad.vortex2 at gmail.com
Wed Aug 6 16:53:36 PDT 2014
>
> Hi David,
>
> I tested this functionality with my two devices below. As a result, the
> fallback did not work well. Please check the attached files.
>
> Echo Audio Audiofile 4 (6ch capture/6ch playback)
> M-Audio FireWire Audiophile (4ch capture/6ch playback)
>
Using 7.9 fragments of size 7168 bytes (10.16ms), buffer size is 56320
bytes (79.82ms)
Seem bug in driver
0.713| 0.003) D: [pulseaudio] alsa-util.c: Managed to open hw:1
( 0.713| 0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode since
BATCH flag is set
( 0.713| 0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_format(Signed 16 bit Little Endian) failed: Invalid
argument
( 0.713| 0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_format(Signed 16 bit Big Endian) failed: Invalid
argument
( 0.713| 0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_format(Float 32 bit Little Endian) failed: Invalid
argument
( 0.713| 0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_format(Float 32 bit Big Endian) failed: Invalid
argument
( 0.713| 0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 92
ms
( 1.154| 0.441) D: [pulseaudio] alsa-util.c: Set buffer size first (to 3528
samples), period size second (to 441 samples).
( 1.154| 0.000) I: [pulseaudio] alsa-util.c: Device hw:1 doesn't support
sample format s16le, changed to s32le. ( 1.167| 0.012) I: [pulseaudio]
alsa-source.c: Successfully opened device hw:1.
( 1.167| 0.000) I: [pulseaudio] alsa-source.c: Selected mapping 'Analog
4-channel Input' (analog-4-channel-input).
( 1.167| 0.000) I: [pulseaudio] alsa-source.c: Cannot enable timer-based
scheduling, falling back to sound IRQ scheduling.
( 1.167| 0.000) I: [pulseaudio] alsa-source.c: Successfully enabled mmap()
mode.
( 1.167| 0.000) I: [pulseaudio] alsa-util.c: Successfully attached to mixer
'hw:1'
( 1.168| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event
due to change event.
( 1.168| 0.000) I: [pulseaudio] source.c: Created source 2
"alsa_input.firewire-0x000d6c03002b7e2e.analog-4-channel-input" with sample
spec s32le 4ch 44100Hz and channel map aux0,aux1,aux2,aux3
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.resolution_bits = "24"
( 1.168| 0.000) I: [pulseaudio] source.c: device.api = "alsa"
( 1.168| 0.000) I: [pulseaudio] source.c: device.class = "sound"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.class = "generic"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.subclass = "generic-mix"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.name = "FW Audiophile PCM"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.id = "BeBoB"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.subdevice = "0" ( 1.168|
0.000) I: [pulseaudio] source.c: alsa.subdevice_name = "subdevice #0"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.device = "0"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.card = "1"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.card_name = "FW Audiophile"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.long_card_name = "M-Audio FW
Audiophile (id:13, rev:1), GUID 000d6c03002b7e2e at fw1.0, S400"
( 1.168| 0.000) I: [pulseaudio] source.c: alsa.driver_name = "snd_bebob"
( 1.168| 0.000) I: [pulseaudio] source.c: device.bus_path =
"pci-0000:02:01.0"
( 1.168| 0.000) I: [pulseaudio] source.c: sysfs.path =
"/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/fw1/fw1.0/sound/card1"
( 1.168| 0.000) I: [pulseaudio] source.c: udev.id =
"firewire-0x000d6c03002b7e2e" ( 1.168| 0.000) I: [pulseaudio] source.c:
device.bus = "firewire"
( 1.168| 0.000) I: [pulseaudio] source.c: device.vendor.name = "Ricoh Co
Ltd"
( 1.168| 0.000) I: [pulseaudio] source.c: device.product.name = "R5C832
IEEE 1394 Controller"
( 1.168| 0.000) I: [pulseaudio] source.c: device.string = "hw:1"
( 1.168| 0.000) I: [pulseaudio] source.c: device.buffering.buffer_size =
"56320"
( 1.168| 0.000) I: [pulseaudio] source.c: device.buffering.fragment_size =
"7168"
( 1.168| 0.000) I: [pulseaudio] source.c: device.access_mode = "mmap"
( 1.168| 0.000) I: [pulseaudio] source.c: device.profile.name =
"analog-4-channel-input"
( 1.168| 0.000) I: [pulseaudio] source.c: device.profile.description =
"Analog 4-channel Input"
( 1.168| 0.000) I: [pulseaudio] source.c: device.description = "R5C832 IEEE
1394 Controller Analog 4-channel Input" ( 1.168| 0.000) I: [pulseaudio]
source.c: alsa.mixer_name = "FW Audiophile"
( 1.168| 0.000) I: [pulseaudio] source.c: module-udev-detect.discovered =
"1" ( 1.168| 0.000) I: [pulseaudio] source.c: device.icon_name =
"audio-card-firewire"
( 1.168| 0.000) I: [pulseaudio] alsa-source.c: Using 7.9 fragments of size
7168 bytes (10.16ms), buffer size is 56320 bytes (79.82ms)
( 1.168| 0.000) D: [pulseaudio] alsa-source.c: hwbuf_unused=0
( 1.168| 0.000) D: [pulseaudio] alsa-source.c: setting avail_min=1
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: snd_pcm_dump(): ( 1.168|
0.000) D: [pulseaudio] alsa-util.c: Hardware PCM card 1 'FW Audiophile'
device 0 subdevice 0
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: Its setup is:
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: stream : CAPTURE
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: format : S32_LE
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: subformat : STD
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: channels : 4
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: rate : 44100
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1)
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: msbits : 24
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: buffer_size : 3520 ( 1.168|
0.000) D: [pulseaudio] alsa-util.c: period_size : 448 ( 1.168| 0.000) D:
[pulseaudio] alsa-util.c: period_time : 10158
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: tstamp_mode : ENABLE
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: period_step : 1
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: avail_min : 448
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: period_event : 1
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: start_threshold : -1
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: stop_threshold : 1845493760
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: silence_threshold: 0
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: silence_size : 0
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: boundary : 1845493760
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: appl_ptr : 0
( 1.168| 0.000) D: [pulseaudio] alsa-util.c: hw_ptr : 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140807/71b9f06d/attachment.html>
More information about the pulseaudio-discuss
mailing list