mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.54k stars 1.28k forks source link

Mixxx is unable to open traktor s4 as soundcard #7725

Open mixxxbot opened 2 years ago

mixxxbot commented 2 years ago

Reported by: jclaveau Date: 2014-12-13T01:51:22Z Status: New Importance: Low Launchpad Issue: lp1402122 Tags: portaudio, soundio


One of my friends has a traktor s4 mk1 so we tried to use it with Mixxx.

We tried to use it as a simple soundcard without any success. We've got this error message : Error opening a device. An unknown error occured.

With pulseaudio, we've been able to stream sound from Firefox to this controller so it doesn't look like a driver issue.

Here is the dump in bash.

Debug [Main]: guess the size of the window decoration 
Debug [Main]: DlgPrefVinyl::Apply 
Debug [Main]: in VinylGainSlotApply() with gain: 1 
Debug [Main]: SoundManager::setupDevices() 
Debug [Main]: SoundDevicePortAudio::open() "2, Traktor Kontrol S4: - (hw:1,0)" 
Debug [Main]: framesPerBuffer: 1024 
Debug [Main]: Requested sample rate:  44100 Hz, latency: 23.22 ms 
Debug [Main]: Output channels: 2 | Input channels: 0 
Debug [Main]: Opening stream with id 2 
Expression 'hostSampleFormat = PaUtil_SelectClosestAvailableFormat( GetAvailableFormats( self->pcm ), userSampleFormat )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1910
Expression 'PaAlsaStreamComponent_Initialize( &self->playback, alsaApi, outParams, StreamDirection_Out, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2175
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840
Warning [Main]: Error opening stream: Sample format not supported 
Debug [Controller]: ControllerManager::getControllerList 
Debug [Controller]: Saving preset for "Midi Through Port-0" to "/home/jean/.mixxx/controllers/Midi_Through_Port-0.midi.xml" 
Debug [Controller]: writing script block for "Korg-nanoKONTROL-2-scripts.js" 
Debug [Controller]: Saving preset for "Traktor Kontrol S4" to "/home/jean/.mixxx/controllers/Traktor_Kontrol_S4.midi.xml" 
Debug [Main]: Setting input delegate for column 0 QStyledItemDelegate(0x174dcfa0) 
Debug [Main]: Setting input delegate for column 1 QStyledItemDelegate(0x17409c30) 
Debug [Main]: Setting input delegate for column 2 QStyledItemDelegate(0x173e5b80) 
Debug [Main]: Setting input delegate for column 3 MidiOptionsDelegate(0x1bc89eb0) 
Debug [Main]: Setting input delegate for column 4 ControlDelegate(0x1fdd0a40) 
Debug [Main]: Setting output delegate for column 0 QStyledItemDelegate(0x265c7940) 
Debug [Main]: Setting output delegate for column 1 QStyledItemDelegate(0x26b9fd20) 
Debug [Main]: Setting output delegate for column 2 QStyledItemDelegate(0x268bc940) 
Debug [Main]: Setting output delegate for column 3 QStyledItemDelegate(0x268bcb20) 
Debug [Main]: Setting output delegate for column 4 QStyledItemDelegate(0x1fdcf250) 
Debug [Main]: Setting output delegate for column 5 ControlDelegate(0x2047e700) 

Is there any dump tool I can use to give you more information?

mixxxbot commented 2 years ago

Commented by: ywwg Date: 2014-12-13T04:01:38Z


have you tried 48KHz?