Different rules for same file format and different devices ??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • soundcheck
    Senior Member
    • Nov 2009
    • 955

    Different rules for same file format and different devices ??

    Hi.

    I'm wondering if below is possible:

    I'd like to send flacs as native flac streams to all my mobile devices (iOS,Android)
    On my main audio system I'd like to have flacs as PCM stream. (I use the squeezelite patch that can recognize the samplerate from PCM header btw.)

    Both below rules shall apply at the same time.
    ################################################## ####################
    flc flc * *
    -

    flc pcm * 192.168.1.20
    # F
    [sox] -D -q -t flac $FILE$ -t wavpcm -e signed -b 24 - rate -v -L -a -b 98 96000

    ################################################## ####################

    I'm wondering if this is possible? Does the first rule overrule the 2nd more specific rule because it has a different stream format?
    Do I need to use the same stream format - both rules flac/flac or both flac/pcm when using the device routing feature?

    Thx
    Last edited by soundcheck; 2015-12-23, 10:31.
    ::: my blog: "The Audio Streaming Series & sKit - tuning kit - pCP " :::
  • bpa
    Senior Member
    • Oct 2005
    • 22725

    #2
    I think the more specific rules will apply first.

    Check execution by enabling logging player.source to INFO or DEBUG and you will see rules being rejected and then the command line that will be executed.

    Comment

    • soundcheck
      Senior Member
      • Nov 2009
      • 955

      #3
      Originally posted by bpa
      I think the more specific rules will apply first.

      Check execution by enabling logging player.source to INFO or DEBUG and you will see rules being rejected and then the command line that will be executed.
      I'll ckeck it out.
      ::: my blog: "The Audio Streaming Series & sKit - tuning kit - pCP " :::

      Comment

      Working...