projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f81e3e1
)
sndfile-util: fix format for 24bit depth wav files
author
Kiran Krishnappa
<kiraank@gmail.com>
Thu, 10 Oct 2013 06:30:09 +0000
(23:30 -0700)
committer
Tanu Kaskinen
<tanu.kaskinen@linux.intel.com>
Sat, 12 Oct 2013 20:16:36 +0000
(23:16 +0300)
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
src/pulsecore/sndfile-util.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/sndfile-util.c
b/src/pulsecore/sndfile-util.c
index
0820ee4
..
a951c01
100644
(file)
--- a/
src/pulsecore/sndfile-util.c
+++ b/
src/pulsecore/sndfile-util.c
@@
-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: