summaryrefslogtreecommitdiff
path: root/solaris
diff options
context:
space:
mode:
authorRui Nuno Capela <rncbc@rncbc.org>2019-02-08 21:22:53 +0000
committerFilipe Coelho <falktx@falktx.com>2019-02-08 22:22:53 +0100
commit05bc08c64e9747ae7e9db75b9f667564d3784380 (patch)
treef373965a8996845e70fe065abdbb3ebbbc08f83b /solaris
parenta752bfaa618457ea9ad366794f0751cc96ba2578 (diff)
downloadjack2-05bc08c64e9747ae7e9db75b9f667564d3784380.tar.gz
memops-alsa_bad_sound-fix-1 (#426)
* Revert "oss_driver: Use float to S32 conversion if requested" This reverts commit c5a0f5ea1cf4c29f35e76b600043bef95147186f. * Revert "alsa_in/out: Use float to S32 conversion if requested" This reverts commit 148c8d8e6acf3242bcc27b62f7f51bbdeee6472b. * Revert "alsa_driver: Use float to S32 conversion if requested" This reverts commit d017e1fffeb15c9baee46220642dda5030409a02. * Revert "memops: Provide function for float to S32 conversion" This reverts commit bb99e09b99ab2c71f9a91ca0fb8cbb996df5dbc6. * Revert "memops: Align S24LE and S32LE to float conversion" This reverts commit b4ea23df6a16180a3d686cefffe7dd91fcbc9a27. * Revert "memops: Provide function for S32 to float conversion" This reverts commit 244fc27e29d8523acbd6a166a8a11bab969a84b7. * Revert "memops: Align float to S24LE and S32LE conversion" This reverts commit 4455fe020ca890d8c6b24f89a7bf91f9044b9d33. * Revert "memops: Remove not used conversion macros" This reverts commit a82f3f2fb44e236e5bf3b207349ca000cd01185c. * Revert "memops: Use right-aligned S24LE to float conversion" This reverts commit e75325431353919b1917d96a047a2a195ce01c00. * Revert "memops: Use right-aligned float to S24LE conversion" This reverts commit 831163e51640aad2fbda7710c44bc406f167df85.
Diffstat (limited to 'solaris')
-rw-r--r--solaris/oss/JackBoomerDriver.cpp4
-rw-r--r--solaris/oss/JackOSSAdapter.cpp4
-rw-r--r--solaris/oss/JackOSSDriver.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/solaris/oss/JackBoomerDriver.cpp b/solaris/oss/JackBoomerDriver.cpp
index f207addb..5f07bc57 100644
--- a/solaris/oss/JackBoomerDriver.cpp
+++ b/solaris/oss/JackBoomerDriver.cpp
@@ -87,7 +87,7 @@ static inline void CopyAndConvertIn(jack_sample_t *dst, void *src, size_t nframe
case 32: {
signed int *s32src = (signed int*)src;
s32src += channel;
- sample_move_dS_s32(dst, (char*)s32src, nframes, byte_skip);
+ sample_move_dS_s32u24(dst, (char*)s32src, nframes, byte_skip);
break;
}
}
@@ -112,7 +112,7 @@ static inline void CopyAndConvertOut(void *dst, jack_sample_t *src, size_t nfram
case 32: {
signed int *s32dst = (signed int*)dst;
s32dst += channel;
- sample_move_d32_sS((char*)s32dst, src, nframes, byte_skip, NULL);
+ sample_move_d32u24_sS((char*)s32dst, src, nframes, byte_skip, NULL);
break;
}
}
diff --git a/solaris/oss/JackOSSAdapter.cpp b/solaris/oss/JackOSSAdapter.cpp
index 23615992..8418068d 100644
--- a/solaris/oss/JackOSSAdapter.cpp
+++ b/solaris/oss/JackOSSAdapter.cpp
@@ -52,7 +52,7 @@ static inline void CopyAndConvertIn(jack_sample_t *dst, void *src, size_t nframe
case 32: {
signed int *s32src = (signed int*)src;
s32src += channel;
- sample_move_dS_s32(dst, (char*)s32src, nframes, chcount<<2);
+ sample_move_dS_s32u24(dst, (char*)s32src, nframes, chcount<<2);
break;
}
}
@@ -77,7 +77,7 @@ static inline void CopyAndConvertOut(void *dst, jack_sample_t *src, size_t nfram
case 32: {
signed int *s32dst = (signed int*)dst;
s32dst += channel;
- sample_move_d32_sS((char*)s32dst, src, nframes, chcount<<2, NULL);
+ sample_move_d32u24_sS((char*)s32dst, src, nframes, chcount<<2, NULL);
break;
}
}
diff --git a/solaris/oss/JackOSSDriver.cpp b/solaris/oss/JackOSSDriver.cpp
index f1affaf0..77ca6e00 100644
--- a/solaris/oss/JackOSSDriver.cpp
+++ b/solaris/oss/JackOSSDriver.cpp
@@ -86,7 +86,7 @@ static inline void CopyAndConvertIn(jack_sample_t *dst, void *src, size_t nframe
case 32: {
signed int *s32src = (signed int*)src;
s32src += channel;
- sample_move_dS_s32(dst, (char*)s32src, nframes, chcount<<2);
+ sample_move_dS_s32u24(dst, (char*)s32src, nframes, chcount<<2);
break;
}
}
@@ -111,7 +111,7 @@ static inline void CopyAndConvertOut(void *dst, jack_sample_t *src, size_t nfram
case 32: {
signed int *s32dst = (signed int*)dst;
s32dst += channel;
- sample_move_d32_sS((char*)s32dst, src, nframes, chcount<<2, NULL);
+ sample_move_d32u24_sS((char*)s32dst, src, nframes, chcount<<2, NULL);
break;
}
}