Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surround and MTR in sndio backends #696

Open
17 tasks
gavv opened this issue Feb 9, 2024 · 0 comments
Open
17 tasks

Surround and MTR in sndio backends #696

gavv opened this issue Feb 9, 2024 · 0 comments

Comments

@gavv
Copy link
Member

gavv commented Feb 9, 2024

Requires: #694, #695.

  • Sox:
    • SoxSink, SoxSource: surround: correct mapping for alsa, coreaudio
    • SoxSink, SoxSource: surround: fallback for rest
    • SoxSink, SoxSource: mtr
  • Wav:
    • WavSink: write WAVEX extension header with channel mask
    • WavSink: surround
    • WavSink: mtr
    • WavSource: read channel mask from dr_wav and pass it to ChannelSet
    • WavSource: surround
    • WavSource: mtr
  • Sndfile:
  • Pulseaudio
    • surround
    • mtr
@gavv gavv added this to Frontlog in kanban board Feb 9, 2024
@gavv gavv changed the title wav backend surround support Surround & multitrack in backends Feb 10, 2024
@gavv gavv changed the title Surround & multitrack in backends Surround & multitrack & encoding in backends Feb 10, 2024
@gavv gavv changed the title Surround & multitrack & encoding in backends Encodings in backends Feb 10, 2024
@gavv gavv changed the title Encodings in backends Encodings, surround, and mtr in backends Feb 10, 2024
@gavv gavv moved this from Frontlog to In work in kanban board Feb 10, 2024
gavv added a commit to gavv/roc-toolkit that referenced this issue Apr 9, 2024
…ends

To initialize channels in sndio backends, we now use:

    channel_set().set_count(count)

instead of:

    channel_set().set_range(0, count-1)

The new version tries to find a sensible mask for given count.
E.g. for 2 channels, set_range() call above would set FL+FC,
and set_count() would set FL+FR (stereo).

This is an intermediate solution, for appropriate surround support
we'll need to update backends to map channels from file/device
to channel set. set_count() is just a fallback for backends that
don't (yet) have proper support.
gavv added a commit to gavv/roc-toolkit that referenced this issue Apr 9, 2024
…ends

To initialize channels in sndio backends, we now use:

    channel_set().set_count(count)

instead of:

    channel_set().set_range(0, count-1)

The new version tries to find a sensible mask for given count.
E.g. for 2 channels, set_range() call above would set FL+FC,
and set_count() would set FL+FR (stereo).

This is an intermediate solution, for appropriate surround support
we'll need to update backends to map channels from file/device
to channel set. set_count() is just a fallback for backends that
don't (yet) have proper support.
@gavv gavv changed the title Encodings, surround, and mtr in backends Surround and MTR in backends Apr 26, 2024
@gavv gavv changed the title Surround and MTR in backends Surround and MTR in sndio backends Apr 26, 2024
@gavv gavv moved this from In work to Frontlog in kanban board Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant