mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
pcm_share cleaning
This commit is contained in:
parent
5e44a3114d
commit
82fcfe1ab5
12 changed files with 70 additions and 62 deletions
|
|
@ -544,6 +544,9 @@ static inline int32_t getS(const void *src, int src_sign, int src_wid, int src_e
|
|||
if (src_end)
|
||||
s = bswap_32(s);
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
return 0;
|
||||
}
|
||||
if (!src_sign)
|
||||
s -= 1U << (src_wid - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue