Project

General

Profile

Actions

Feature #71

open

Optional ALSA output

Added by Anonymous almost 16 years ago. Updated almost 16 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/27/2009
Due date:
% Done:

0%

Estimated time:

Description

On my PVR-350 system audio-out via DVB does not work. Therefore I've hacked muggle to support ALSA output. It would be nice to have the output device as a configuration setting in muggle.


Files

muggle_alsa.patch (9.85 KB) muggle_alsa.patch Patch for ALSA output oschwartz, 02/01/2009 11:11 AM
Actions #1

Updated by wrohdewald almost 16 years ago

can you send me some source code?

Actions #2

Updated by oschwartz almost 16 years ago

As I said, this is a hack. The attached patch will disable DVB sound output completely and use ALSA instead. It's basically using the ALSA output class from the MP3 plugin. The patch is against the muggle-0.2.3 sources.

Hope this helps,

Oliver

Actions #3

Updated by wrohdewald almost 16 years ago

This looks good - but as you said it would need some work to be integrated.

Why don't you register as a developer and add it yourself?

Of course the default should be traditional output, and it should even compile if libasound is not installed, so you would have to make alsa output a compile option - and then, as you said, add a setup entry that switches output devices, and an entry for configuring the alsa output device (alsadevice in your patch).

Why did you change the things about DeviceFreeze and DevicePlay? This is code from dvbplayer.c which you said you do not need for alsa.

Actions

Also available in: Atom PDF