Opened 10 years ago

Closed 9 years ago

#7896 closed defect (invalid)

Audio device not being closed consistently?

Reported by: kcarmich@… Owned by: JYA
Priority: minor Milestone: unknown
Component: MythTV - Audio Output Version: head
Severity: medium Keywords: audio alsa spdif
Cc: Ticket locked: no

Description

I have noticed that I am getting errors on a regular basis where I try to watch a record show and mythtv is unable to open the audio device, and the solution is that I need to exit mythtv frontend and restart to get access to the audio device again.

I am using alsa audio and output to spdif. which doesnt allow multiple access to the sound card.

Change History (4)

comment:1 Changed 10 years ago by JYA

Status: newinfoneeded_new

What version of Myth are you running.

Please provide a log where the error shows

comment:2 Changed 10 years ago by anonymous

I am running the latest version availble from the svn repository ... currently revision 23126 (current as of jan 13, 2010)

--- output from mythfrontend where it was unable to open the audio device

HOSTNAME localhost.localdomain CHANID 1011 STARTTIME 2010-01-13T17:59:00 SENDER localhost.localdomain) called from UI thread 2010-01-13 18:02:00.688 TV: Attempting to change from None to Watching WatchingRecording? 2010-01-13 18:02:00.820 SendReceiveStringList?(GET_RECORDER_NUM,News Hour...) called from UI thread 2010-01-13 18:02:00.821 MythContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1) 2010-01-13 18:02:00.823 Using protocol version 56 2010-01-13 18:02:01.044 AFD: Opened codec 0x9b75efa0, id(MPEG2VIDEO) type(Video) 2010-01-13 18:02:01.044 AFD: codec MP2 has 2 channels 2010-01-13 18:02:01.044 AFD: Opened codec 0x9b75f520, id(MP2) type(Audio) 2010-01-13 18:02:01.051 Opening audio device 'plughw:0,1'. ch 2(2) sr 48000 (reenc 0) * PULSEAUDIO: Unable to connect: Connection terminated 2010-01-13 18:02:01.060 AudioOutput? Error: AudioOutputALSA::SetIECStatus: snd_ctl_open(default): Connection refused 2010-01-13 18:02:01.060 Opening ALSA audio device 'plughw:0,1'. 2010-01-13 18:02:01.071 NVP(4): Disabling Audio, reason is: AudioOutputALSA::SetIECStatus: snd_ctl_open(default): Connection refused * PULSEAUDIO: Unable to connect: Connection terminated 2010-01-13 18:02:01.078 AudioOutput? Error: AudioOutputALSA::SetIECStatus: snd_ctl_open(default): Connection refused

comment:3 Changed 10 years ago by JYA

Status: infoneeded_newnew

Looks like a PulseAudio? issue and not myth.

Disable pulseaudio server.

comment:4 Changed 9 years ago by JYA

Resolution: invalid
Status: newclosed

no answer in 6 months

Plus that part of the code doesn't exist anymore

Note: See TracTickets for help on using tickets.