Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#289 closed patch (fixed)

Fix for non-OSS audio

Reported by: rah@… Owned by: nigel@…
Priority: major Milestone: unknown
Component: mythtv Version:
Severity: high Keywords:
Cc: Ticket locked: no

Description

Index: mythtv/libs/libmythtv/NuppelVideoRecorder.cpp =================================================================== --- mythtv/libs/libmythtv/NuppelVideoRecorder.cpp (revision 7193) +++ mythtv/libs/libmythtv/NuppelVideoRecorder.cpp (working copy) @@ -614,7 +614,7 @@

int frag, blocksize = 4096; int tmp;

-#ifdef CONFIG_DARWIN

+#if defined(CONFIG_DARWIN)
( !defined(HAVE_SYS_SOUNDCARD_H) && !defined(HAVE_SOUNDCARD_H))

VERBOSE(VB_IMPORTANT, QString("NVR::AudioInit?() This Unix doesn't support"

" device files for audio access. Skipping"));

return 1;

@@ -2076,7 +2076,7 @@

void NuppelVideoRecorder::doAudioThread(void) {

-#ifdef CONFIG_DARWIN

+#if defined(CONFIG_DARWIN)
( !defined(HAVE_SYS_SOUNDCARD_H) && !defined(HAVE_SOUNDCARD_H))

VERBOSE(VB_IMPORTANT,

QString("NVR::doAudioThread() This Unix doesn't support"

" device files for audio access. Skipping"));

Index: mythtv/programs/mythbackend/mainserver.cpp =================================================================== --- mythtv/programs/mythbackend/mainserver.cpp (revision 7193) +++ mythtv/programs/mythbackend/mainserver.cpp (working copy) @@ -826,7 +826,7 @@

if (audiodevice.right(4) == audiooutputdevice.right(4) &&

(cardtype == "V4L"
cardtype == "MJPEG")) they match

{

-#ifdef CONFIG_DARWIN

+#if defined(CONFIG_DARWIN)
( !defined(HAVE_SYS_SOUNDCARD_H) && !defined(HAVE_SOUNDCARD_H))

VERBOSE(VB_ALL, QString("Audio device files are not "

"supported on this Unix."));

#else

Attachments (1)

oss-fix.diff (1.7 KB) - added by rah@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by rah@…

Attachment: oss-fix.diff added

comment:1 Changed 14 years ago by anonymous

Owner: changed from Isaac Richards to nigel@…

comment:2 Changed 14 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [7200]) Fixes #289

comment:3 Changed 14 years ago by Nigel

(In [7201]) Closes #289

Note: See TracTickets for help on using tickets.