Opened 8 years ago

Closed 8 years ago

#10024 closed Bug Report - General (Fixed)

AudioIn: unknown or unsupported audio input device

Reported by: mythtv.hook@… Owned by: danielk
Priority: minor Milestone: 0.25
Component: MythTV - Recording Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Raymond Wagner)

Im not sure this is covered by #9825, it doesnt read so, so im reporting it separately.

When recording off an analog tuner the changes made around 7191881b2310b06ef7874ee653d5a5d99da5912a for adding alsa support in, seem to have misplaced the setup of the audio device.

As such the backend produces an error that the Audio is 'unknown or unsupported audio input device' and no sound is recorded.

A quick fix for this is the following patch:

diff --git a/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp b/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
index 1c634b9..4975a53 100644
--- a/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
+++ b/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
@@ -363,6 +363,9 @@ void NuppelVideoRecorder::SetOptionsFromProfile(RecordingProfile *profile,
     SetOption("vbiformat", gCoreContext->GetSetting("VbiFormat"));
     SetOption("audiodevice", audiodev);
 
+// H O O K: Because its broken
+audiodevice = audiodev;
+
     QString setting = QString::null;
     const Setting *tmp = profile->byName("videocodec");
     if (tmp)

Obviously how this does not fit with how the code has been rewritten, but hopefully it will give an indication as to what is causing the problem so a more elegant patch can be made.

Change History (3)

comment:1 Changed 8 years ago by Raymond Wagner

Description: modified (diff)

comment:2 Changed 8 years ago by danielk

Milestone: unknown0.25
Priority: majorminor
Status: newaccepted

comment:3 Changed 8 years ago by danielk

Resolution: Fixed
Status: acceptedclosed

This was fixed in [fb5c5531].

Note: See TracTickets for help on using tickets.