Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    Selecting output speakers (A, B or A+B)?

    Audio Control API
    audio control api str-dn1080
    2
    7
    4654
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      grolschie last edited by grolschie

      Hi. Which function is equivalent to the button that toggles these please?Is it setActiveTerminal (v1.0)? Thanks in advance.

      1 Reply Last reply Reply Quote
      • D
        david DeveloperWorld last edited by

        I don't think this is possible to control this via the API, it is not done via the setActiveTerminal at least, I will have to ask to confirm.

        G 1 Reply Last reply Reply Quote
        • G
          grolschie @david last edited by

          Hi @david. Thanks for investigating this. I look forward to the response.

          1 Reply Last reply Reply Quote
          • D
            david DeveloperWorld last edited by

            @grolschie as I suspected there is no way to do this via the API, it is seen as a pre setup functionality and nothing that should be needed to be changed once setup.

            1 Reply Last reply Reply Quote
            • G
              grolschie last edited by

              Hi @david. Thanks for that.

              However, after being given a tip from a user of my app, I see it's possible to do via setSpeakerSettings (v1.0) (which is an undocumented method for the audio lib), target = speakerSelection and possible values speakerA, speakerB and speakerA_B.

              1 Reply Last reply Reply Quote
              • D
                david DeveloperWorld last edited by

                @grolschie did not know about that one, and missed it then I was looking. But yes, that and audio/getSpeakerSettings (v1.0) will probably help you do what you want and more... there is a loot of settings there...

                G 1 Reply Last reply Reply Quote
                • G
                  grolschie @david last edited by

                  @david Thanks. May I please suggest that these two methods be documented, because they are also needed in order to set the volume levels for each speaker.

                  I must've seen the A/B speakers mentioned in the JSON when messing about with these methods a while back, but obviously forgot. 🙂

                  1 Reply Last reply Reply Quote
                  • First post
                    Last post
                  Developer World
                  Copyright © 2021 Sony Group Corporation. All rights reserved.
                  • Contact us
                  • Legal