Opened 13 years ago

Last modified 12 years ago

#10024 closed Bug Report - General

AudioIn: unknown or unsupported audio input device — at Version 1

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 (1)

comment:1 Changed 13 years ago by Raymond Wagner

Description: modified (diff)
Note: See TracTickets for help on using tickets.