Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
HAL_Titanium HAL_Titanium
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • RiscOS
    • SSources
  • HAL
  • HAL_TitaniumHAL_Titanium
  • Merge requests
  • !1

Merged
Created Aug 21, 2019 by Jeffrey Lee@jleeDeveloper

Fix stereo channels being reversed

  • Overview 2
  • Commits 1
  • Changes 2

By default RISC OS/SoundDMA generates 32bit sample frames where the right channel is in the low 16 bits and the left channel is in the high 16 bits, as required by VIDC's 'wide' sound FIFO which stores a full 32bit frame per entry. This is in contrast to most newer systems RISC OS supports, with 'narrow' FIFOs which store only the data for a single channel per entry. Since I2S expects the left channel to be transmitted first, this generally means that RISC OS must switch to generating data such that the left channel is in the low 16 bits of each word (as supported via the audio HAL device 'StereoReverse' flag), or, as in this case, by instructing the hardware to swap the channels for us.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: stereo_swap