Cannot select NI Traktor Audio 2 sound card in preferences

Bug #1076948 reported by David Planella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Invalid
Medium
Owen Williams

Bug Description

First of all, thanks a lot for the really awesome piece of software that Mixxx is.

I'm running Ubuntu 12.10 and Mixxx 1.10.1~dfsg0-1 (the version from the main archive), and I'm trying to use an NI Traktor Audio 2 sound card as the master output device in the sound preferences.

It's a USB sound card with 2 outputs that's got a working driver in Ubuntu. It works out of the box with PulseAudio apps (e.g. the main sound preferences in Ubuntu, Banshee, Rhythmbox, etc) and with some ALSA apps (e.g. transitionsdj), at least for a single channel output.

However, while it can be initially selected in the sound preferences as an output device, upon clicking on the "Apply" or "OK" button, I get the following error, which stops me from using it:

Error opening soud device "Traktor Audio 2: Traktor Audio 2 (hw:2,0)"
Sample format not supported

I've worked around it by creating a custom .asoundrc file, as documented below. However, I'm reporting this bug as for a better user experience (not every user will be able to create such a file or know that they need to create it) I believe the card should be selectable and usable out of the box with Mixxx.

    http://askubuntu.com/q/214749/9781

Here is the relevant log output (TraktorAudio2 is the card I'm refering to):

$ cat /proc/asound/cards
 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf2420000 irq 44
 1 [NVidia ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xcdefc000 irq 16
 2 [TraktorAudio2 ]: snd-usb-caiaq - Traktor Audio 2
                      Native Instruments Traktor Audio 2 (usb-0000:00:1d.0-1.1)
29 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control
                      ThinkPad Console Audio Control at EC reg 0x30, fw 6IHT39WW-1.14

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: TraktorAudio2 [Traktor Audio 2], device 0: Traktor Audio 2 [Traktor Audio 2]
  Subdevices: 1/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

$ aplay -L
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
    HDA Intel, CONEXANT Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
sysdefault:CARD=TraktorAudio2
    Traktor Audio 2, Traktor Audio 2
    Default Audio Device
dmix:CARD=TraktorAudio2,DEV=0
    Traktor Audio 2, Traktor Audio 2
    Direct sample mixing device
dsnoop:CARD=TraktorAudio2,DEV=0
    Traktor Audio 2, Traktor Audio 2
    Direct sample snooping device
hw:CARD=TraktorAudio2,DEV=0
    Traktor Audio 2, Traktor Audio 2
    Direct hardware device without any conversions
plughw:CARD=TraktorAudio2,DEV=0
    Traktor Audio 2, Traktor Audio 2
    Hardware device with all software conversions

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Undecided → Low
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Is this still an issue with the latest Mixxx 1.11 or Mixxx 1.12 alpha?

Revision history for this message
Owen Williams (ywwg) wrote :

The older Native Instruments devices use subdevices, which portaudio does not support. I have the same problem with my Audio4DJ. A .asoundrc or a JACK setup are required to work around the problem.

But, this is not a mixxx bug.

Changed in mixxx:
status: New → Invalid
importance: Low → Medium
assignee: nobody → Owen Williams (ywwg)
Revision history for this message
Owen Williams (ywwg) wrote :

Work is proceeding on trying to fix this bug in portaudio: http://music.columbia.edu/pipermail/portaudio/2015-January/016496.html

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/6690

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.