This is with master and ALSA. If deck 1 is playing and I load a track into deck 2, the audio engine halts for about 10 seconds (vu meters don't move, spinnies stop moving, no sound). Then eventually it comes back and actually loads the track.
Anyone know why to load one track it creates the soundsourceprovider 2 times in the main thread?
Debug [AnalyzerQueue 1]: Waveform generation for track 6058 done 12 s
Debug [AnalyzerQueue 1]: ReplayGain 2.0 (libebur128) result is 2.48385 dB for "/music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/02 - John Coltrane - Cousin Mary.flac"
Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats.
Debug [Main]: SoundSourceProvider "Xiph.org libFLAC" created a SoundSource for file QUrl( "file:///music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/03 - John Coltrane - I Want to Talk About You.flac" ) of type "flac"
Debug [Main]: Reading tags from file "/music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/03 - John Coltrane - I Want to Talk About You.flac" of type "flac" : parsing track metadata , ignoring cover art
Debug [Main]: BaseTrackCache(0x493bb60) updateIndexWithQuery took 0 ms
Debug [Main]: WCoverArt::slotCoverFound WCoverArt(0x2b4a15f0) "CoverInfo(NONE,GUESSED,,0,/music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/03 - John Coltrane - I Want to Talk About You.flac)" QSize(0, 0)
Debug [Main]: BaseTrackPlayerImpl::slotLoadTrack
Debug [Main]: WOverview::slotLoadingTrack true false
Debug [CachingReaderWorker 2]: SoundSourceProvider "Xiph.org libFLAC" created a SoundSource for file QUrl( "file:///music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/03 - John Coltrane - I Want to Talk About You.flac" ) of type "flac"
Debug [CachingReaderWorker 2]: Opened AudioSource for file QUrl( "file:///music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/03 - John Coltrane - I Want to Talk About You.flac" ) with provider "Xiph.org libFLAC"
Debug [Engine]: init rubberband
Debug [Main]: BaseTrackPlayerImpl::slotTrackLoaded
Debug [Main]: SoundSourceProvider "Xiph.org libFLAC" created a SoundSource for file QUrl( "file:///music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/03 - John Coltrane - I Want to Talk About You.flac" ) of type "flac"
Debug [Main]: Skip parsing of track metadata from file QUrl( "file:///music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/03 - John Coltrane - I Want to Talk About You.flac" )
Debug [Main]: WSpinny::slotCoverFound WSpinny(0x319cfc30, name = "SpinnySingleton2") "CoverInfo(NONE,GUESSED,,0,/music/ogg/05ANNEX/Jazz/John Coltrane/1963 - Afro Blue Impressions (Pablo)/Afro Blue Impressions cd 2/03 - John Coltrane - I Want to Talk About You.flac)" QSize(0, 0)
Here's backtraces of loading a flac file. I see:
CoverArtCache: :loadCover( ) ForReading( ) Impl::slotTrack Loaded( ) :run()
CachingReaderWorker (anonymous) openAudioSource
BaseTrackPlayer
AnalyzerQueue:
Maybe my dropout is just an xrun from having too short a buffer, but this seems like a lot of sound sources for one track load? Why the load for both caching reader and slottrackloaded?
[New Thread 0x7fffcbfc3700 (LWP 30386)]
[Switching to Thread 0x7fffcbfc3700 (LWP 30386)]
Breakpoint 1, SoundSourceProx y::initSoundSou rce (this=0x7fffcbf c2950) at src/sources/ soundsourceprox y.cpp:355 m_pSoundSource- >getType( )); y::initSoundSou rce() (this=0x7fffcbf c2950) at src/sources/ soundsourceprox y.cpp:355 y::SoundSourceP roxy(QSharedPoi nter<Track> const&) (this=0x7fffcbf c2950, pTrack=...) soundsourceprox y.cpp:305 :extractEmbedde dCover( QFileInfo const&, QSharedPointer< SandboxSecurity Token>) (fileInfo=..., pToken=...) at src/library/ coverartutils. cpp:44 :extractEmbedde dCover( QFileInfo const&) (fileInfo=...) coverartutils. cpp:33 :loadCover( CoverInfo const&) (info=...) at src/library/ coverartutils. cpp:55 :loadCover( CoverInfo const&, QObject const*, int, int, bool) (this=0x36e26d0, info=..., pRequestor= 0x2a2a5e00, requestReferenc e=5983, desiredWidth=0, signalWhenDone= true) at src/library/ coverartcache. cpp:143 :StoredMemberFu nctionPointerCa ll5<CoverArtCac he::FutureResul t, CoverArtCache, CoverInfo const&, CoverInfo, QObject const*, QObject const*, int, int, int, int, bool, bool>::runFunctor() (this=0x36d926d0) qt4/QtCore/ qtconcurrentsto redfunctioncall .h:1208 :RunFunctionTas k<CoverArtCache ::FutureResult> ::run() (this=0x36d926d0) qt4/QtCore/ qtconcurrentrun base.h: 106 x86_64- linux-gnu/ libQtCore. so.4 x86_64- linux-gnu/ libQtCore. so.4 3700) at pthread_ create. c:333 unix/sysv/ linux/x86_ 64/clone. S:109 //music/ ogg/05ANNEX/ Ambient/ Purl/Purl - Evighet - 03 Thaw.flac" ) of type "flac" ogg/05ANNEX/ Ambient/ Purl/Purl - Evighet - 03 Thaw.flac" of type "flac" : ignoring track metadata , parsing cover art Impl::slotLoadT rack :slotLoadingTra ck true true
355 QString trackType(
(gdb) bt
#0 0x0000000000931dd6 in SoundSourceProx
#1 0x00000000009317f6 in SoundSourceProx
at src/sources/
#2 0x0000000000731169 in CoverArtUtils:
#3 0x0000000000731093 in CoverArtUtils:
at src/library/
#4 0x00000000007312a3 in CoverArtUtils:
#5 0x000000000072b24b in CoverArtCache:
#6 0x000000000072e76d in QtConcurrent:
at /usr/include/
#7 0x000000000072e495 in QtConcurrent:
at /usr/include/
#8 0x00007ffff4e20dba in () at /usr/lib/
#9 0x00007ffff4e2dd1c in () at /usr/lib/
#10 0x00007ffff2db16aa in start_thread (arg=0x7fffcbfc
#11 0x00007ffff0f83e9d in clone () at ../sysdeps/
(gdb) c
Continuing.
Debug [Thread (pooled)]: SoundSourceProvider "Xiph.org libFLAC" created a SoundSource for file QUrl( "file:/
Debug [Thread (pooled)]: Reading tags from file "/music/
Debug [Main]: BaseTrackPlayer
Debug [Main]: WOverview:
[Switching to Thread 0x7fffb4e4e700 (LWP 30308)]
Breakpoint 1, SoundSourceProx y::initSoundSou rce (this=0x7fffb4e 4daa0) at src/sources/ soundsourceprox y.cpp:355 m_pSoundSource- >getType( )); y::initSoundSo. ..
355 QString trackType(
(gdb) bt
#0 0x0000000000931dd6 in SoundSourceProx