[pulseaudio-tickets] [Bug 87656] New: native-instruments-traktor-audio10.conf is not correct

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 23 15:48:47 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87656

            Bug ID: 87656
           Summary: native-instruments-traktor-audio10.conf is not correct
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: alsa
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: owen-freedesktop at ywwg.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Created attachment 111247
  --> https://bugs.freedesktop.org/attachment.cgi?id=111247&action=edit
My attempt at fixing the configuration file

Previous Native Instruments sound cards, like the Audio4DJ, used separate
stereo subdevices, and a .conf file was created to merge these devices together
in pulseaudio.  However the new Audio 10 card has one device with 10 channels,
and the existing configuration file doesn't work because it references
nonexistent subdevices.

I tried to create my own corrected configuration file, but I am having trouble
getting pulseaudio to work with my Audio 10 (I keep getting "invalid argument
errors").  With a little guidance I think this can be easily fixed.

The only major limitation of this sound card that I'm aware of is all samples
must be S32_LE. 

Some information:

aplay -l
card 1: T10 [Traktor Audio 10], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L
sysdefault:CARD=T10
    Traktor Audio 10, USB Audio
    Default Audio Device
front:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    Front speakers
surround40:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    Direct sample mixing device
dsnoop:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    Direct sample snooping device
hw:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    Direct hardware device without any conversions
plughw:CARD=T10,DEV=0
    Traktor Audio 10, USB Audio
    Hardware device with all software conversions


aplay -v
Hardware PCM card 1 'Traktor Audio 10' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 10
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 32
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 5513
  period_event : 0
  start_threshold  : 22050
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary     : 6206523236469964800
  appl_ptr     : 0
  hw_ptr       : 0


When I try to edit the .conf file (attached), pulseaudio says:
I: [pulseaudio] alsa-ucm.c: UCM not available for card Traktor Audio 10
I: [pulseaudio] module-card-restore.c: Restored profile
'output:analog-stereo-main+input:analog-stereo-main' for card
alsa_card.usb-Native_Instruments_Traktor_Audio_10_71C5613E-00-T10.
I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card
alsa_card.usb-Native_Instruments_Traktor_Audio_10_71C5613E-00-T10.
I: [pulseaudio] card.c: Created 21
"alsa_card.usb-Native_Instruments_Traktor_Audio_10_71C5613E-00-T10"
I: [pulseaudio] alsa-util.c: cannot disable ALSA period wakeups
I: [pulseaudio] alsa-util.c: cannot disable ALSA period wakeups
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on
plughw:CARD=T10,DEV=0: Invalid argument
I: [pulseaudio] alsa-util.c: cannot disable ALSA period wakeups
I: [pulseaudio] alsa-util.c: cannot disable ALSA period wakeups
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on
plughw:CARD=T10,DEV=0: Invalid argument
I: [pulseaudio] module.c: Loaded "module-alsa-card" (index: #43; argument:
"device_id="1" name="usb-Native_Instruments_Traktor_Audio_10_71C5613E-00-T10"
card_name="alsa_card.usb-Native_Instruments_Traktor_Audio_10_71C5613E-00-T10"
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no
deferred_volume=yes use_ucm=yes
card_properties="module-udev-detect.discovered=1"").
I: [pulseaudio] module-udev-detect.c: Card
/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.1/3-2.1:1.0/sound/card1
(alsa_card.usb-Native_Instruments_Traktor_Audio_10_71C5613E-00-T10) module
loaded.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141223/934439a8/attachment.html>


More information about the pulseaudio-bugs mailing list