andrewrk / andrewrk/libsoundio

Add support for S24_3LE format

オープン
#94 コメント 14 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
C
スター
2.1k
フォーク
254
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm not sure if libsoundio is to blame, but my external sound card is supposed to support 24bit/96kHz (Fiio E10, has reviews so not obscure to Windows/Mac users). The C equivalent of what's failing is:

```
...
SoundIoOutStream *out = soundio_outstream_create(device); // not null for me
out->sample_rate = 96000;
out->format = SoundIoFormatS24LE;
int err = soundio_outstream_open(out)); // soundio_strerror is "unable to open device"
```

This is a raw device, Linux 4.5 and updated alsa 1.1.1. I get the same results with or without pulseaudio uninstalled. None of the 24-bit formats work and neither `device->formats` nor `soundio_device_supports_format` think it can do it either.

Should I contact the manufacturer or something? It's USB plug-and-play, so there are no drivers involved.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。