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

Support playback 16bit or 32bit #46

Open
webispy opened this issue Jan 30, 2021 · 0 comments
Open

Support playback 16bit or 32bit #46

webispy opened this issue Jan 30, 2021 · 0 comments

Comments

@webispy
Copy link

webispy commented Jan 30, 2021

Hi,

I am testing ReSpeaker USB Mic Array v2.0 on a BeableBoneBlack board with QNX OS. Fortunately, the microphone works fine, but playback through the audio jack is not working properly.

Even though I'm not an audio driver expert, when I look at the manuals and below logs, it doesn't seem to work because of 24bit playback. 16bit or 32bit seems to work.

...
[3] audio_update_capabilities(458): audio_update_capabilities: Config = 1, iface = 1, Alt = 1, bSubFrameSize = 3, bBitResolution = 24, bNrChannels =2
...
[3] audio_update_capabilities(458): audio_update_capabilities: Config = 1, iface = 2, Alt = 1, bSubFrameSize = 2, bBitResolution = 16, bNrChannels =6
...
[3] psw_resync_parent_configuration(330): Software Mixer re-config failed (capabilities mismatch)
[3] ado_pcm_sw_mix(4073): Failed to configure PCM software mixer
...

http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.utilities/topic/i/io-audio.html

sw_mixer_sample_size=[16 | 32]
  Specify the sample size for the PCM software mixer to use:
    * 16 — 16-bit signed, native endian.
    * 32 — 32-bit signed, native endian.
  If you do not use this key, the sample size is determined by the sample size the underlying hardware uses:
    * If the hardware is 8- or 16-bit, the mixer uses 16-bit signed, native endian.
    * For 24- or 32-bit hardware, the mixer uses 32-bit signed, native endian.

Is it possible to get the firmware modified to 16bit or 32bit only on the playback side? Or is there a manual for QNX?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant