pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/ossinfo ossinfo: remove patch, fixed in netbsd-c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5c4a7d5a602f
branches: trunk
changeset: 452554:5c4a7d5a602f
user: nia <nia%pkgsrc.org@localhost>
date: Thu May 13 09:20:11 2021 +0000
description:
ossinfo: remove patch, fixed in netbsd-current
diffstat:
audio/ossinfo/distinfo | 3 +-
audio/ossinfo/patches/patch-cmd_ossinfo_ossinfo.c | 103 ----------------------
2 files changed, 1 insertions(+), 105 deletions(-)
diffs (119 lines):
diff -r e611a7a62620 -r 5c4a7d5a602f audio/ossinfo/distinfo
--- a/audio/ossinfo/distinfo Thu May 13 09:19:32 2021 +0000
+++ b/audio/ossinfo/distinfo Thu May 13 09:20:11 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.1 2021/05/09 08:27:21 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/05/13 09:20:11 nia Exp $
SHA1 (oss-v4.2-build2019-src-bsd.tar.bz2) = f6e03cbb5b5010aa48dd6d963b7e68c991c7d7dc
RMD160 (oss-v4.2-build2019-src-bsd.tar.bz2) = be04756160843acdaacbb610d5e8ebd9f7acf572
SHA512 (oss-v4.2-build2019-src-bsd.tar.bz2) = 9d43fa3e3abe4cf006cabfedf2c9fc51372f8cbe499c2e4bee6ba489291c31eb93b66b312054bcf92fc26df329bc3c7ef14a633fece8af38256bc7198d0c1556
Size (oss-v4.2-build2019-src-bsd.tar.bz2) = 1723557 bytes
-SHA1 (patch-cmd_ossinfo_ossinfo.c) = c23fa6445407588cc67aa02fdc9d637a8d95f6d7
diff -r e611a7a62620 -r 5c4a7d5a602f audio/ossinfo/patches/patch-cmd_ossinfo_ossinfo.c
--- a/audio/ossinfo/patches/patch-cmd_ossinfo_ossinfo.c Thu May 13 09:19:32 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-$NetBSD: patch-cmd_ossinfo_ossinfo.c,v 1.1 2021/05/09 08:27:21 nia Exp $
-
-XXX: These features are missing from libossaudio.
-
---- cmd/ossinfo/ossinfo.c.orig 2019-03-06 07:52:21.000000000 +0000
-+++ cmd/ossinfo/ossinfo.c
-@@ -131,23 +131,35 @@ print_verbose_formats (unsigned long mas
- printf (" AFMT_MPEG\t- MPEG (MP2/MP3) encoded audio\n");
- if (mask & AFMT_AC3)
- printf (" AFMT_AC3\t\t- AC3 (Dolby Digital) encoded audio\n");
-+#ifdef AFMT_VORBIS
- if (mask & AFMT_VORBIS)
- printf (" AFMT_VORBIS\t- Vorbis encoded audio\n");
-+#endif
- if (mask & AFMT_S32_LE)
- printf (" AFMT_S32_LE\t- 32 bit signed little endian\n");
- if (mask & AFMT_S32_BE)
- printf (" AFMT_S32_BE\t- 32 bit signed big endian\n");
-+#ifdef AFMT_FLOAT
- if (mask & AFMT_FLOAT)
- printf
- (" AFMT_FLOAT\t- Single precision floating point (native endianess)\n");
-+#endif
-+#ifdef AFMT_S24_LE
- if (mask & AFMT_S24_LE)
- printf (" AFMT_S24_LE\t- 24/32 bit signed little endian\n");
-+#endif
-+#ifdef AFMT_S24_BE
- if (mask & AFMT_S24_BE)
- printf (" AFMT_S24_BE\t- 24/32 bit signed big endian\n");
-+#endif
-+#ifdef AFMT_S24_PACKED
- if (mask & AFMT_S24_PACKED)
- printf (" AFMT_S24_PACKED\t- 24 bit packed (3 byte)\n");
-+#endif
-+#ifdef AFMT_SPDIF_RAW
- if (mask & AFMT_SPDIF_RAW)
- printf (" AFMT_SPDIF_RAW\t- Raw S/PDIF frames\n");
-+#endif
- }
-
- static void
-@@ -167,15 +179,21 @@ print_engine_info (oss_audioinfo * ainfo
-
- switch (ainfo->busy)
- {
-+#ifdef OSS_OPEN_READ
- case OSS_OPEN_READ:
- printf ("Busy (IN) ");
- break;
-+#endif
-+#ifdef OSS_OPEN_WRITE
- case OSS_OPEN_WRITE:
- printf ("Busy (OUT) ");
- break;
-+#endif
-+#ifdef OSS_OPEN_READWRITE
- case OSS_OPEN_READWRITE:
- printf ("Busy (IN/OUT) ");
- break;
-+#endif
- default:
- printf ("Available for use ");
- }
-@@ -278,14 +296,22 @@ print_audio_info (void)
- printf ("TRIGGER ");
- if (ainfo.caps & PCM_CAP_MMAP)
- printf ("MMAP ");
-+#ifdef PCM_CAP_MULTI
- if (ainfo.caps & PCM_CAP_MULTI)
- printf ("MULTI ");
-+#endif
-+#ifdef PCM_CAP_BIND
- if (ainfo.caps & PCM_CAP_BIND)
- printf ("BIND ");
-+#endif
-+#ifdef PCM_CAP_VIRTUAL
- if (ainfo.caps & PCM_CAP_VIRTUAL)
- printf ("VIRTUAL ");
-+#endif
-+#ifdef PCM_CAP_SHADOW
- if (ainfo.caps & PCM_CAP_SHADOW)
- printf ("SHADOW ");
-+#endif
- if (ainfo.caps & PCM_CAP_HIDDEN)
- printf ("HIDDEN ");
- printf ("\n");
-@@ -395,6 +421,7 @@ print_audio_info (void)
- printf (" Sample rate source: %d\n", ainfo.rate_source);
-
-
-+#ifdef DSP_CH_MASK
- printf (" Preferred channel configuration: ");
- switch (ainfo.caps & DSP_CH_MASK)
- {
-@@ -411,6 +438,7 @@ print_audio_info (void)
- printf ("MULTICH\n");
- break;
- }
-+#endif
-
- printf (" Supported number of channels (min - max): %d - %d\n",
- ainfo.min_channels, ainfo.max_channels);
Home |
Main Index |
Thread Index |
Old Index