mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
sndfile-util: fix format for 24bit depth wav files
PA_SAMPLE_24NE generated in pa_sndfile_read_sample_spec is not handled in pa_sndfile_readf and writef function. paplay/parecord used to get aborted for 24bit depth wav files
This commit is contained in:
parent
f81e3e1d78
commit
ab25436486
1 changed files with 2 additions and 0 deletions
|
|
@ -384,6 +384,7 @@ pa_sndfile_readf_t pa_sndfile_readf_function(const pa_sample_spec *ss) {
|
|||
|
||||
case PA_SAMPLE_ULAW:
|
||||
case PA_SAMPLE_ALAW:
|
||||
case PA_SAMPLE_S24NE:
|
||||
return NULL;
|
||||
|
||||
default:
|
||||
|
|
@ -407,6 +408,7 @@ pa_sndfile_writef_t pa_sndfile_writef_function(const pa_sample_spec *ss) {
|
|||
|
||||
case PA_SAMPLE_ULAW:
|
||||
case PA_SAMPLE_ALAW:
|
||||
case PA_SAMPLE_S24NE:
|
||||
return NULL;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue