Page MenuHomeFreeBSD

D47734.id146908.diff
No OneTemporary

D47734.id146908.diff

diff --git a/sys/dev/sound/pcm/g711.h b/sys/dev/sound/pcm/g711.h
--- a/sys/dev/sound/pcm/g711.h
+++ b/sys/dev/sound/pcm/g711.h
@@ -187,37 +187,4 @@
U8_TO_ULAW, U8_TO_ALAW \
}
-#define G711_DECLARE_OP(t) \
-static __inline intpcm_t \
-pcm_read_ulaw(uint8_t v) \
-{ \
- \
- return (_G711_TO_INTPCM((t).ulaw_to_u8, v)); \
-} \
- \
-static __inline intpcm_t \
-pcm_read_alaw(uint8_t v) \
-{ \
- \
- return (_G711_TO_INTPCM((t).alaw_to_u8, v)); \
-} \
- \
-static __inline void \
-pcm_write_ulaw(uint8_t *dst, intpcm_t v) \
-{ \
- \
- *dst = _INTPCM_TO_G711((t).u8_to_ulaw, v); \
-} \
- \
-static __inline void \
-pcm_write_alaw(uint8_t *dst, intpcm_t v) \
-{ \
- \
- *dst = _INTPCM_TO_G711((t).u8_to_alaw, v); \
-}
-
-#define G711_DECLARE(t) \
- G711_DECLARE_TABLE(t); \
- G711_DECLARE_OP(t)
-
#endif /* !_SND_G711_H_ */

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 30, 1:21 PM (17 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32413558
Default Alt Text
D47734.id146908.diff (1003 B)

Event Timeline