Waveform disappeas playaing on win XP + WDM-KS

Bug #1404803 reported by Daniel Schürmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
High
Daniel Schürmann

Bug Description

When a track is playing the waveform disappears and only the lead-In is shown, once it stops. the view is as expected.
This happens with Sound-API: WDM-KS
The problem is gone when playing with direct sound.

I think there is something wrong with the reported latencies.
Around line:
https://github.com/mixxxdj/mixxx/blob/873835442c437059f0bb0984862c73fa9f937422/src/sounddeviceportaudio.cpp#L770

Can someone on a windows environment check that?

Tags: waveform
Changed in mixxx:
milestone: none → 1.12.0
summary: - Waveform disappeas when playaing win XP 1.12.a r50002
+ Waveform disappeas playaing on win XP + WDM-KS
Revision history for this message
jus (jus) wrote :

Can confirm with OSX 10.9.
But i think the reason is within your pitch scale patch https://github.com/mixxxdj/mixxx/pull/415
The issue is only with the patch applied, if the patch gets reversed, everything back to normal.

tags: added: waveform
Revision history for this message
Daniel Schürmann (daschuer) wrote :

I can reproduce it reliable with a plain mixxx-master-git5001-x86.exe from build server.
So in my case, it can't be related with pitch scale patch.
WDM-KS -> lead in with triangles
Direct sound -> waveforms
Stop = waveform in both cases.

@Jus: Has you issue the same symptoms? Do you have to do something special to get in this state?

Revision history for this message
jus (jus) wrote :

It was like this:
OSX Core-Audio-> lead in with triangles
Stop = waveform

Doo.
I just rebuild with your patch applied and could NOT reproduce it.
So my assumption about the patch was not correct. Switched waveforms and skins to no avail, still works as expected. Will keep an eye on it.

Revision history for this message
jus (jus) wrote :

Just happened again, did not found a definitive pattern yet, see short screen recording.
For once i was able to toggle waveform/preroll display by (de)selecting a microphone input in the sound hardware preferences. Did not catch that on video though.

Changed in mixxx:
status: New → Confirmed
Revision history for this message
Owen Williams (ywwg) wrote :

* Does this happen with waveforms other than RGB?
* Can you hear the audio?
* Can you print out the visual_playposition control object and see what it's doing?

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Thank you for help, on win xp it look similar.
I think we need to add a plausibility check on timeInfo at
https://github.com/mixxxdj/mixxx/blob/873835442c437059f0bb0984862c73fa9f937422/src/sounddeviceportaudio.cpp#L770

A faulty value of timeInfo will be helpfull here. Are you able to break at the line above?
If not, no problem, we should be able to fix it without.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

It happens with all waveforms
I can hear Audio
can't print visual_playposition because I have no development environment.

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Undecided → High
Changed in mixxx:
status: Confirmed → In Progress
assignee: nobody → Daniel Schürmann (daschuer)
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Fixed since https://github.com/mixxxdj/mixxx/commit/40bd85fd63322342a72234bc304fa36db473bbab
by disabling the waveform syncing.
Not sure if it possible to sync again with the effected sound APIs

It currently locks one sync value per deck in mixxx.log maybe we can find a pattern .. of fix it in portaudio.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

@jus: please check it with your issue.

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

oh good, glad you caught this

Changed in mixxx:
status: In Progress → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
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/7757

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

Bug attachments

Remote bug watches

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