2009-11-22, 04:04
I've read all the relevant threads here but couldn't find a working solution.
version: 9.11 alpha 2, ubuntu 9.10
This is the situation:
Here is the log where i successfully played DTS content(Eastern.Promises), then successfully switched to analog audio content(Happiness) and failed to switch back to the same DTS content(Eastern.Promises).
http://pastebin.com/pastebin.php?dl=m767fda9c
this is where it goes wrong (seems it doesn't even try to switch to passthrough here):
All help appreciated!
version: 9.11 alpha 2, ubuntu 9.10
This is the situation:
- I'm using optical spdif to output all audio to a DTS capable receiver.
- I can get both analog and digital audio to play correctly on the receiver
- When I switch from an analog stream to a digital one (which uses passthrough) I get an error "failed to initialize audio settings".
- However, when i set the audio output device to iec958 and load DTS content it works, but after switching to an analog stream and then switching back to DTS I get the error again. The menu sounds don't work at all in iec958 output mode
- All of this switching works without a problem using VLC
Here is the log where i successfully played DTS content(Eastern.Promises), then successfully switched to analog audio content(Happiness) and failed to switch back to the same DTS content(Eastern.Promises).
http://pastebin.com/pastebin.php?dl=m767fda9c
this is where it goes wrong (seems it doesn't even try to switch to passthrough here):
Code:
02:37:49 T:2928397168 M:1889439744 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(484414693.877551, 0)
02:37:49 T:2928397168 M:1889439744 NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 44100, no pass-through
02:37:49 T:2928397168 M:1889439744 DEBUG: PulseAudio: Opening Channels: 2 - SampleRate: 44100 - SampleBit: 16 - Resample false - Codec PCM - IsMusic false - IsPassthrough false - device: alsa_output.usb-C-Media_INC._USB_Sound_Device-00.iec958-stereo@default
02:37:49 T:2928397168 M:1889439744 DEBUG: PulseAudio: Context failed
02:37:49 T:2928397168 M:1889439744 ERROR: PulseAudio: Waited for the Context but it failed
02:37:49 T:2928397168 M:1889439744 ERROR: PulseAudio: Failed to create context
02:37:49 T:2928397168 M:1889312768 INFO: AudioRendererFactory: alsa_output.usb-C-Media_INC._USB_Sound_Device-00.iec958-stereo@default not a explicit device, trying to autodetect.
02:37:49 T:2928397168 M:1889312768 DEBUG: PulseAudio: Opening Channels: 2 - SampleRate: 44100 - SampleBit: 16 - Resample false - Codec PCM - IsMusic false - IsPassthrough false - device: pulse:alsa_output.usb-C-Media_INC._USB_Sound_Device-00.iec958-stereo@default
02:37:49 T:2928397168 M:1889312768 DEBUG: PulseAudio: Context failed
02:37:49 T:2928397168 M:1889312768 ERROR: PulseAudio: Waited for the Context but it failed
02:37:49 T:2928397168 M:1889312768 ERROR: PulseAudio: Failed to create context
02:37:49 T:2928397168 M:1889312768 DEBUG: CALSADirectSound::CALSADirectSound - Channels: 2 - SampleRate: 44100 - SampleBit: 16 - Resample false - Codec PCM - IsMusic false - IsPassthrough false - audioDevice: pulse:alsa_output.usb-C-Media_INC._USB_Sound_Device-00.iec958-stereo@default
02:37:49 T:2928397168 M:1889312768 DEBUG: Initialize - using alsa device pulse:alsa_output.usb-C-Media_INC._USB_Sound_Device-00.iec958-stereo@default
02:37:49 T:2928397168 M:1889312768 ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory
02:37:49 T:2928397168 M:1889312768 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
02:37:49 T:2928397168 M:1889312768 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
02:37:49 T:2928397168 M:1889312768 DEBUG: CDVDPlayerAudio:: Discontinuty - was:484436040.884942, should be:484440838.059010, error:4797.174068
All help appreciated!