2010-02-09, 02:20
erhnam Wrote:The good thing is that my hick-ups and pop-ups are gone when switching from one song to another (using spdif). The bad thing is that I that no my hdmi crackles. I also have issues when swithing from one song to another that I have to press play one more time. Also the screen is quite smaller when I finish watching a movie using hdmi. When I look at my xbmc.log and find these errors:
Code:15:23:40 T:3079460752 M:1383768064 ERROR: PulseAudio: Waited for the Context but it failed
15:23:40 T:3079460752 M:1383768064 ERROR: PulseAudio: Failed to create context
15:23:40 T:3079460752 M:1383514112 ERROR: PulseAudio: Waited for the Context but it failed
15:23:40 T:3079460752 M:1383514112 ERROR: PulseAudio: Failed to create context
15:23:46 T:3079460752 M:1384239104 ERROR: PulseAudio: Waited for the Context but it failed
15:23:46 T:3079460752 M:1384239104 ERROR: PulseAudio: Failed to create context
15:23:46 T:3079460752 M:1384239104 ERROR: PulseAudio: Waited for the Context but it failed
15:23:46 T:3079460752 M:1384239104 ERROR: PulseAudio: Failed to create context
15:23:58 T:3079460752 M:1384189952 ERROR: PulseAudio: Waited for the Context but it failed
15:23:58 T:3079460752 M:1384189952 ERROR: PulseAudio: Failed to create context
15:23:58 T:3079460752 M:1384054784 ERROR: PulseAudio: Waited for the Context but it failed
15:23:58 T:3079460752 M:1384054784 ERROR: PulseAudio: Failed to create context
15:24:32 T:3079460752 M:1367171072 ERROR: PulseAudio: Waited for the Context but it failed
15:24:32 T:3079460752 M:1367171072 ERROR: PulseAudio: Failed to create context
15:37:19 T:3078018960 M:1373483008 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
This config seems to work much better! At least it doesn't give me hdmi problems.
Code:pcm.!default {
type plug
slave {
pcm "both"
}
}
pcm.both {
type route
slave {
pcm multi
channels 4
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}
pcm.multi {
type multi
slaves.a {
pcm "tv"
channels 2
}
slaves.b {
pcm "dmixrec"
channels 2
}
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
pcm.dmixrec {
type dmix
ipc_key 1024
slave {
pcm "receiver"
period_time 0
period_size 1024
buffer_size 8192
rate 48000
}
bindings {
0 0
1 1
}
}
pcm.tv {
type hw
card 0
device 3
channels 2
}
pcm.receiver {
type hw
card 0
device 1
channels 2
}
The script is just a copy paste of some findings on the net and these forums but works good on my setup (asrock ion 330ht + yamaha receiver @ spdif + panasonic 50" (P50s10) @ hdmi; no hiss and crossfading works (on both tv and receiver)
Just some thinking out loud but have you tried lowering the 'rate' parameter of your dmix tv device. its probably because your tv can't handle the 48000 rate. try adjusting this to something lower: 44100
Regards.