Searched refs:sndhdr (Results 1 – 14 of 14) sorted by relevance
1 :mod:`sndhdr` --- Determine type of sound file4 .. module:: sndhdr13 **Source code:** :source:`Lib/sndhdr.py`17 The :mod:`sndhdr` provides utility functions which attempt to determine the type
23 sndhdr.rst
127 this data can be decoded by the standard Python module :mod:`sndhdr`, then the
9 import sndhdr34 for testfn in sndhdr.tests:
17 import sndhdr90 ftype = sndhdr.whathdr(fname)
67 import sndhdr
37 Lib/test/sndhdrdata/sndhdr.* = BIN
196 struct msghdr sndhdr; member
283 ctx->sndhdr.msg_name = (void *)&dst; in ipv6nd_sendrsprobe()284 ctx->sndhdr.msg_iov[0].iov_base = state->rs; in ipv6nd_sendrsprobe()285 ctx->sndhdr.msg_iov[0].iov_len = state->rslen; in ipv6nd_sendrsprobe()288 cm = CMSG_FIRSTHDR(&ctx->sndhdr); in ipv6nd_sendrsprobe()300 if (sendmsg(ctx->nd_fd, &ctx->sndhdr, 0) == -1) { in ipv6nd_sendrsprobe()
155 ctx->sndhdr.msg_namelen = sizeof(struct sockaddr_in6); in ipv6_init()156 ctx->sndhdr.msg_iov = ctx->sndiov; in ipv6_init()157 ctx->sndhdr.msg_iovlen = 1; in ipv6_init()158 ctx->sndhdr.msg_control = ctx->sndbuf; in ipv6_init()159 ctx->sndhdr.msg_controllen = sizeof(ctx->sndbuf); in ipv6_init()
1144 ctx->sndhdr.msg_name = (void *)&dst; in dhcp6_sendmessage()1145 ctx->sndhdr.msg_iov[0].iov_base = state->send; in dhcp6_sendmessage()1146 ctx->sndhdr.msg_iov[0].iov_len = state->send_len; in dhcp6_sendmessage()1149 cm = CMSG_FIRSTHDR(&ctx->sndhdr); in dhcp6_sendmessage()1159 if (sendmsg(ctx->dhcp_fd, &ctx->sndhdr, 0) == -1) { in dhcp6_sendmessage()
202 sndhdr
9505 whatsound. (Use sndhdr.)10497 Use sndhdr instead of the obsolete whatsound module.10794 - The sndhdr module no longer supports whatraw() -- it depended on a12990 - It turns out whatsound.py and sndhdr.py were identical modules.12991 Since there's also an imghdr.py file, I propose to make sndhdr.py the12993 sndhdr.py.15974 * There's a new module sndhdr which recognizes various sound files by16912 sndhdr: recognizes sound file headers
1975 sndhdr Several routines that help recognizing sound.