Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154825182
D47734.id146908.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1003 B
Referenced Files
None
Subscribers
None
D47734.id146908.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 30, 1:12 PM (17 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32413558
Default Alt Text
D47734.id146908.diff (1003 B)
Attached To
Mode
D47734: sound: Remove unused code from pcm/g711.h
Attached
Detach File
Event Timeline
Log In to Comment