Hi there,

I have a system where I need to move sources to different sinks according to a policy. I thought I'd try this out using pacmd before I start trying to code this up with pulse, put pacmd does not behave as expected (by me :).

I tried the following command in pacmd:

>>> move-sink-input 0 hdaAudio.monitor
No sink input found with this index.

When I list the sinks and sources I get the output listed below.

Is anyone familiar with pacmd. According to the help, this looks as if it should work.

Eventually I want to publish several virtual devices, route them to a mixer (possibly via an SRC) and route the mixer output to a specific ALSA sink. I need two instances of mixers so that I can mix some streams to one output device and some streams to another. I need to be able to dynamically rout the entire output to another ALSA sink depending on the policy set. I'd also like to rout sources to the different mixer instances as required. If I can do routing within a single mixer instance, so much the better. Is Pulse capable of this or do I need to find another route to implement this.

Thanks for any advice,

Nick

here is the output of list for sources and sinks:

>>> list-sources
3 source(s) available.
    index: 0
        name: <usbAudio.monitor>
        driver: <modules/module-alsa-sink.c>
        flags:
        state: IDLE
        volume: <0: 100% 1: 100%>
        mute: <0>
        latency: <0 usec>
        sample spec: <s16le 2ch 44100Hz>
        channel map: <front-left,front-right>
        used by: <0>
        linked by: <0>
        monitor_of: <0>
        module: <0>
description: <Monitor Source of ALSA PCM on usbLexiconAlpha (USB Audio) via DMA>
    index: 1
        name: <hdaAudio.monitor>
        driver: <modules/module-alsa-sink.c>
        flags:
        state: IDLE
        volume: <0: 100% 1: 100%>
        mute: <0>
        latency: <0 usec>
        sample spec: <s16le 2ch 44100Hz>
        channel map: <front-left,front-right>
        used by: <0>
        linked by: <0>
        monitor_of: <1>
        module: <1>
description: <Monitor Source of ALSA PCM on intelHDA (ALC883 Analog) via DMA>
  * index: 2
        name: <alsa_input.hw_0>
        driver: <modules/module-alsa-source.c>
        flags: HW_VOLUME_CTRL LATENCY HARDWARE
        state: IDLE
        volume: <0:   0% 1:   0%>
        mute: <0>
        latency: <23219 usec>
        sample spec: <s16le 2ch 44100Hz>
        channel map: <front-left,front-right>
        used by: <0>
        linked by: <0>
        module: <2>
        description: <ALSA PCM on hw:0 (ALC883 Analog) via DMA>
>>>

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to