treat float32 as 32 bits
This commit is contained in:
parent
ccc3fdcd26
commit
a86df369b3
1 changed files with 1 additions and 1 deletions
|
|
@ -87,6 +87,7 @@ sndioSetFmt(struct sio_par *sio, PaSampleFormat fmt)
|
|||
{
|
||||
switch (fmt & ~paNonInterleaved) {
|
||||
case paInt32:
|
||||
case paFloat32:
|
||||
sio->sig = 1;
|
||||
sio->bits = 32;
|
||||
break;
|
||||
|
|
@ -96,7 +97,6 @@ sndioSetFmt(struct sio_par *sio, PaSampleFormat fmt)
|
|||
sio->bps = 3; /* paInt24 is packed format */
|
||||
break;
|
||||
case paInt16:
|
||||
case paFloat32:
|
||||
sio->sig = 1;
|
||||
sio->bits = 16;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue