[pulseaudio-discuss] [PATCH] Added support for Creative SoundBlaster Omni Surround 5.1 USB sound card. Mic and Line in inputs were not working at all.
Raymond Yau
superquad.vortex2 at gmail.com
Thu Jun 4 09:06:36 PDT 2015
>> pactl list sinks
>
> Приймач даних №1
> Стан: RUNNING
> Назва:
alsa_output.usb-Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00-S51.analog-stereo
> Опис: SB Omni Surround 5.1 Аналогове стерео
> Драйвер: module-alsa-card.c
> Частотна специфікація: s24le 2кан. 48000Гц
> Карта каналів: front-left,front-right
> Модуль-власник: 7
> Стан вимикання: no
> Гучність: front-left: 27588 / 42% / -22,55 dB, front-right: 27588
/ 42% / -22,55 dB
> баланс 0,00
> Базова гучність: 65536 / 100% / 0,00 dB
> Джерело спостереження:
alsa_output.usb-Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00-S51.analog-stereo.monitor
> Латентність: 108660 мкс, налаштовано 99937 мкс
> Прапорці: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
> Властивості:
> alsa.resolution_bits = "24"
> device.api = "alsa"
> device.class = "sound"
> alsa.class = "generic"
> alsa.subclass = "generic-mix"
> alsa.name = "USB Audio"
> alsa.id = "USB Audio"
> alsa.subdevice = "0"
> alsa.subdevice_name = "subdevice #0"
> alsa.device = "0"
> alsa.card = "2"
> alsa.card_name = "SB Omni Surround 5.1"
> alsa.long_card_name = "Creative Technology Ltd SB Omni Surround
5.1 at usb-0000:00:14.0-6, full speed"
> alsa.driver_name = "snd_usb_audio"
> device.bus_path = "pci-0000:00:14.0-usb-0:6:1.0"
> sysfs.path =
"/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/sound/card2"
> udev.id =
"usb-Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00-S51"
> device.bus = "usb"
> device.vendor.id = "041e"
> device.vendor.name = "Creative Technology, Ltd"
> device.product.id = "322c"
> device.product.name = "SB Omni Surround 5.1"
> device.serial =
"Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6"
> device.string = "front:2"
> device.buffering.buffer_size = "28782"
> device.buffering.fragment_size = "7194"
> device.access_mode = "mmap"
> device.profile.name = "analog-stereo"
> device.profile.description = "Аналогове стерео"
> device.description = "SB Omni Surround 5.1 Аналогове стерео"
> alsa.mixer_name = "USB Mixer"
> alsa.components = "USB041e:322c"
> module-udev-detect.discovered = "1"
> device.icon_name = "audio-card-usb"
> Порти:
> analog-output: Аналогове відтворення (priority: 9900)
> Активний порт: analog-output
> Формати:
> pcm
>
>
>> How many profiles supported by omni ?
>
> I've tried to find something already and didn't succeed. Currently in
sound settings I can choose between Stereo, 2.1, 4.1, 5.0 and 5.1, Stereo
on S/PDIF (surround was not supported here, however images on official
website show that is should). There was 4.0 in past, but currently it is
not present.
> Funny thing is that even when S/PDIF chosen it still play sound through
Front/Headphones, can't check how it will work with real S/PDIF, also
S/PDIF volume is actually not absolute, but fraction from Analog Stereo,
not sure how it happens, but I had the same with other USB sound card even
without S/PDIF (Plantronics GameCom 777), it is like phantom output on
every card and works in similar way. I can remove S/PDIF, but there is a
chance that it may work for others.
Have you tested playback device 1 and 2 ?
It seem that some AudioStreaming Interface Descriptors contain 16 bits and
441000Hz
If device 0 only use S24_3LE, other device may support S16_LE and 441000Hz
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 3
bBitResolution 24
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 6
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 6
bSubframeSize 3
bBitResolution 24
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 96000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 3
bBitResolution 24
bSamFreqType 1 Discrete
tSamFreq[ 0] 96000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 44100
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 3
bBitResolution 24
bSamFreqType 1 Discrete
tSamFreq[ 0] 44100
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 3
bBitResolution 24
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 96000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 3
bBitResolution 24
bSamFreqType 1 Discrete
tSamFreq[ 0] 96000
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 4
bDelay 0 frames
wFormatTag 8193 IEC1937_AC-3
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 3 (FORMAT_TYPE_III)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 44100
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 3 (FORMAT_TYPE_III)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150605/082e5cf8/attachment-0001.html>
More information about the pulseaudio-discuss
mailing list