Hi,everyone.

I have two sets of
amplifier for driver and passanger.

I did these configurations:

file:default.pa
> load-module module-alsa-sink device=hw:0,0
sink_properties="node.type=driver"
> load-module module-alsa-sink device=hw:0,1 sink_properties="node.type=
passanger"

file:murphy-ivi.lua
> routing_group {
>    name = "default_driver",
>    node_type = node.output,
>    accept = function(self, n)
>        return (n.type == driver)
>    end,
>    compare = builtin.method.compare_default
>}
>
>routing_group {
>    name = "default_passanger1",
>    node_type = node.output,
>    accept = function(self, n)
>        return (n.type = passanger)
>    end,
>    compare = builtin.method.compare_default
>}
>
>application_class {
>    class = "player",
>    node_type = node.player,
>    priority = 1,
>    route = {
>        output = { driver = routing_group.default_driver_output,
>                   passanger1 = routing_group.default_passanger_output }
>    },
>    roles = { music    = {0, "mandatory", "exclusive"},
>              video    = {0, "mandatory", "exclusive"},
>              test     = {0, "mandatory", "exclusive"},
>              bt_music = no_resource
>    },
>    binaries = { ['t8j6HTRpuz.MediaPlayer'] = "music" }
>}

My media player used gstreamer( pulsesink element ),
and I set the property as this:
>props = gst_structure_from_string ("props,media.role=music,zone.name=driver",
NULL);
>props = gst_structure_from_string 
>("props,media.role=music,zone.name=passanger1 ",
NULL);

But has no effect(no sound).

Is there anything I missed?

Please give me some tips,
Thank you very much.

-------
Yu
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to