[LIVE] Dharma beta 1 music playback issue
#1
Loving the new release, but I think I've found an issue with music playback over HDMI when changing tracks and crossfading is enabled.

With crossfading off, everything is fine. Playback moves from track 1 to track 2 to track 3 etc.

With crossfading on, I get an error message and no sound on every second track. Track 1 plays fine; when track 1 is about over and it tries to move to track 2 I get a "Failed to initialize audio device, Check your audiosettings" error message. After the end of the silent track 2 and track 3 is to begin, sound resumes. Same problem whether its MP3 to MP3 or FLAC to FLAC.

I'm running on an Gigabyte GA-E7AUM-DS2H (nVidia 9400). Let me know if I should open a trac ticket and upload some log files.
Reply
#2
shit im getting the same thing I am currently compiling also 1.0.23 because I thought I had a problem with it.

here is my log

http://flomaster.pastebin.com/dpnJSwB0


Code:
19:05:35 T:3077449600 M:2893414400   DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
19:05:35 T:3077449600 M:2893414400   DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
19:05:35 T:3077449600 M:2893414400   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
19:05:35 T:3077449600 M:2893414400   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
19:05:35 T:3077449600 M:2893414400   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
19:05:35 T:3077449600 M:2893414400   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
19:05:35 T:3077449600 M:2893414400   DEBUG: DllLibApeTag: Using libapetag library
19:05:35 T:3077449600 M:2893414400   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libid3tag-i486-linux.so)
19:05:35 T:3077449600 M:2893414400   DEBUG: Loading: /usr/lib/xbmc/system/libid3tag-i486-linux.so
19:05:35 T:3077449600 M:2893414400   DEBUG: CFileCache::Open - opening <3/24/261.mp3> using cache
19:05:35 T:2790079344 M:2893414400   DEBUG: thread start, auto delete: 0
19:05:35 T:3077449600 M:2888335360    INFO: PAPlayer: Playing musicdb://3/24/261.mp3
19:05:35 T:3077449600 M:2888335360   DEBUG: PAPlayer: Creating new audio renderer
19:05:35 T:3077449600 M:2888335360   DEBUG: RemoveActiveDevice - Removing device 1
19:05:35 T:3077449600 M:2888335360   DEBUG: CGUIAudioManager::DeInitialize
19:05:36 T:3077449600 M:2888843264   DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
19:05:36 T:3077449600 M:2888843264   DEBUG: RemoveActiveDevice - Removing device 0
19:05:36 T:3077449600 M:2888843264   DEBUG: Initialize - using alsa device XBMC
19:05:36 T:3077449600 M:2888843264 [b][color=red]  ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory[/color][/b]
19:05:36 T:3077449600 M:2888843264   DEBUG: SetActiveDevice - SetActiveDevice from 2 to 1
19:05:36 T:3077449600 M:2888843264   DEBUG: RemoveActiveDevice - Removing device 2
19:05:36 T:3077449600 M:2888843264   DEBUG: CGUIAudioManager::Initialize
19:05:36 T:3077449600 M:2888843264   ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
19:05:36 T:3077449600 M:2888843264   DEBUG: RemoveActiveDevice - Removing device 1
19:05:36 T:3077449600 M:2888843264   DEBUG: CGUIAudioManager::DeInitialize
19:05:36 T:3077449600 M:2888843264   DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
19:05:36 T:3077449600 M:2888843264   DEBUG: RemoveActiveDevice - Removing device 0
19:05:36 T:3077449600 M:2888843264   DEBUG: CNullDirectSound::Initialize - Channels: 2 - SampleRate: 44100 - SampleBit: 16 - Resample false - IsMusic true - IsPassthrough false - audioDevice: XBMC
19:05:36 T:3074661232 M:2888843264   DEBUG: thread start, auto delete: 0
19:05:36 T:3077449600 M:2888843264   DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
19:05:36 T:3074661232 M:2888843264   DEBUG: PAPlayer: Thread started
-=Jason=-
Reply
#3
I turned off cross-fading and it did indeed fix my problem

-=Jason=-
Reply
#4
As far as I know this has never worked. Due to the way audio is processed and sent to the HDMI. It can not send two streams at once. (by default)

See this thread for more information: http://forum.xbmc.org/showthread.php?tid=66973
http://www.owlboy.com

Acer Aspire Revo AR1600
Reply
#5
thanks for that thread i'll just chalk it up to not being an option right now... no big deal to me, but i just noticed that option so I enabled it.

-=Jason=-
Reply
#6
Agreed - not a big issue since playback is fine with crossfading is disabled.

With the aim of making it simple for end-users, it would be best if the app either disabled the crossfade option when HDMI is selected, or behind the scenes ignored the crossfading setting if it sees HDMI as the output choice.

But I will happily give up crossfading to have the HW acceleration and other new features...
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] Dharma beta 1 music playback issue0