Project

General

Profile

Actions

Feature #1103

closed

change ac3 pass-through device without vdr restart

Added by Anonymous about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
10/21/2012
Due date:
% Done:

100%

Estimated time:

Description

hello,

with this patch can i change the ac3-device without vdr restart.

svdrpsend plug softhddevice susp
svdrpsend plug softhddevice SET_AC3 hw:0,1
svdrpsend plug softhddevice resu

is it ok for you?
can you integrate the patch to the git?

thank you
hapeha


Files

softdevice_set_ac3.patch (1.37 KB) softdevice_set_ac3.patch Anonymous, 10/21/2012 09:43 PM
Actions #1

Updated by johns about 12 years ago

  • Status changed from New to Feedback

Suspend is not forced to release audio.

Can you make a patch, which adds the feature to "ATTA"?
ATTA already supports changing the "video device" aka the X11 Server.

ATTA -a <alsa> -p <passthrough> ...

Than everything can be handled by a single command, with future extensions.

Actions #2

Updated by johns about 12 years ago

  • File atta_arguments.diff added
Actions #3

Updated by johns about 12 years ago

  • File deleted (atta_arguments.diff)
Actions #4

Updated by johns about 12 years ago

  • Status changed from Feedback to Resolved
  • Assignee set to johns
  • % Done changed from 0 to 100
Actions #5

Updated by tyldum about 12 years ago

Note that this patch seems to make the -a switch mandatory and ATTA will fail without it.
I would much more appreciate it to be optional and default to the last used audio device. Now I need to keep both the plugin configuration maintained and any script I use to detach/attach.

Actions #6

Updated by johns about 12 years ago

There was a little bug, when using this function without any argument.

Each parameter is optional. The latest is the default for the next attach.

Actions #7

Updated by johns almost 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF