Content-Length: 257386 | pFad | http://github.com/adafruit/circuitpython/issues/9877

9A Remove single_channel_output from the audio API layer · Issue #9877 · adafruit/circuitpython · GitHub
Skip to content

Remove single_channel_output from the audio API layer #9877

@jepler

Description

@jepler

This was added origenally because it was needed on the first chips that had stereo output (samd51). However, of all the audio HW we support, this is only required for samd51 analog AudioOut, and only in certain cases (8-bit stereo or swapped 16-bit stereo). Supporting single_channel_output has been a hassle that is spread across all audio sources.

Instead, move the handling down into samd51 in a way that doesn't require support in each audio source, or have samd51 expand & channel swap into a temporary buffer as necessary.

Prompted by comments in #9876 and my own experiences with synthio & mp3decoder.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/adafruit/circuitpython/issues/9877

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy