mordaunt.dev/code

nativeaudio log

105 commits, newest first

  1. 2026-09-2309b2213nativeaudio: add standard justfile
  2. 2026-09-21c7adf6fdocs: record that every native backend now streamsv1.2.0
  3. 2026-09-21561ed97macos: decode incrementally rather than buffering behind Stream
  4. 2026-09-21ddd6252ci: mirror the clone rather than the build's own checkout
  5. 2026-09-2125ab199ci: point the mirror at the renamed github repository
  6. 2026-09-19958747bci: cross-compile the 32-bit Windows target
  7. 2026-09-1999be5fcci: run the suite under AddressSanitizer on Linux
  8. 2026-09-1987d71a2test: check the linked backend against the ffmpeg on the same machine
  9. 2026-09-19a76078fdocs: describe the linked Linux backend and what linking implies
  10. 2026-09-1929feeeftest: compare decodes without the padding that varies by ffmpeg
  11. 2026-09-19a4d54b5ci: install the libav headers the linked backend needs
  12. 2026-09-1971cb9celibav: decode by linking ffmpeg instead of spawning it
  13. 2026-09-18d53fc25docs: describe the new API, the versions and the measured format matrixv1.1.0
  14. 2026-09-18e0de7f9go.mod: retract v1.0.0
  15. 2026-09-1821fbc82test: probe what each platform decoder actually accepts
  16. 2026-09-18d4b316ctest: fuzz the decode, stream and abandoned-stream paths
  17. 2026-09-1899210bfpcm: adapt the output to other audio stacks
  18. 2026-09-18bb7c6e9play: bound the wait for playback to finish
  19. 2026-09-18d5dde75mf: pin the decoder output to 16 bits per sample
  20. 2026-09-18bf19fbemf: make a wedged decode abandonable
  21. 2026-09-18ce90339audio: [macOS] do not read the packet description out-parameter
  22. 2026-09-1891ddb31audio: [macOS] report the buffer length, not its capacity
  23. 2026-09-18c79f169audio: [macOS] pass caller data to AudioToolbox as cgo handles
  24. 2026-09-18ab99185audio: bound the teardown of an abandoned ffmpeg stream
  25. 2026-09-18d33392daudio: add a streaming decode API
  26. 2026-09-184204f85audio: replace the global API with a Decoder value
  27. 2026-09-18debd8efplay: move playback into its own package
  28. 2026-09-18026e4b1ci: build, test and diagnose on Linux, Windows and macOS
  29. 2026-09-176a7c98ddocs: describe the public API and the v1.0.0 breaking changesv1.0.0
  30. 2026-09-17e63bbc4audio: fix inverted package comment and document the Play format limit
  31. 2026-09-173bdbe9dtest: cover the ffmpeg fallbacks when ffmpeg is installed
  32. 2026-09-1787ea90dtest: play a silent file twice and check each call runs full length
  33. 2026-09-179ffd772test: cover more formats, Start/End cycles and mid-stream corruption
  34. 2026-09-17a55f0actest: require equal length and allow under 1 LSB mean error
  35. 2026-09-17878fc35audio: rename Format.BitDepth to BytesPerSample
  36. 2026-09-17f5f3841mf: move Media Foundation bindings into an internal package
  37. 2026-09-17399c519internal: remove unused TriggerReader
  38. 2026-09-17be6e3d2audio: share one oto playback context and wait for the buffer to drain
  39. 2026-09-171f7e8a7audio: use os.CreateTemp for the ffmpeg decode scratch file
  40. 2026-09-170c9c776audio: fix ffplay -autoexit flag
  41. 2026-09-17347b25faudio: [Windows] satisfy go vet on the IStream pointer conversion
  42. 2026-09-173231304audio: [Windows] surface source reader errors instead of looping
  43. 2026-09-176a28e1faudio: [Windows] call MFShutdown from End
  44. 2026-09-17e8bf58caudio: [Windows] release COM objects after they are created
  45. 2026-09-17852abf6audio: [Windows] use uint32 for DWORD parameters
  46. 2026-09-17ca92fe5audio: gofmt doc comments
  47. 2026-09-17075de28audio: exclude Windows from the ffmpeg fallback build constraint
  48. 2025-06-14bf384e6ci: mirror to github
  49. 2024-05-06fd00e33nativeaudio: [macos] document packetsPerLoop
  50. 2024-05-0638c008fnativeaudio: update package doc
  51. 2024-05-06918a97dtest: use builtin 'min'
  52. 2024-05-068b84f1etest: benchmark decode against decode
  53. 2024-05-063126dccnativeaudio: [macos] documentation
  54. 2024-05-036e52f05nativeaudio: [macos] fix buffering bug
  55. 2024-05-03e9d2b0fnativeaudio: update readme
  56. 2024-05-03b99d492nativeaudio: [macos] allow requested bytes to exceed audio data
  57. 2024-05-03578749dtest: add macos native golden output
  58. 2024-05-03b5d777ecmd/nativeaudio: allow conversion
  59. 2024-05-03510674dnativeaudio: test harness for memory leaks
  60. 2024-05-03b654445nativeaudio: [macos] native implementation
  61. 2024-05-028cded97go.*: update deps
  62. 2024-03-0552b0dafaudio: [Windows] return init error at runtime
  63. 2024-01-057cc1499nativeaudio: [Windows] pure Go implementation
  64. 2024-01-0554d36e7internal: TriggerReader
  65. 2024-01-058b40d46cmd/nativeaudio: simple command for playing audio files directly
  66. 2024-01-04b3e9eccaudio: [Windows] move some code into Go space
  67. 2024-01-042c4a24amod: use go 1.21
  68. 2024-01-045864a15remove extraneous C code
  69. 2023-10-23834c517test: expect error for corrupt data
  70. 2023-10-234ac2f1fwindows: fix memory leak
  71. 2023-10-232fb440bwindows: declare all types at top of function
  72. 2023-10-232e9921fffmpeg: combine stdout and stderr
  73. 2023-05-195a620efaudio_windows: fix leaked buffer
  74. 2023-05-1972294cfmain_test: remove unused function
  75. 2023-05-181144afdaudio_windows.c: fixed several memory leaks
  76. 2023-05-1878c8ffdtest: add test files that exercise C code in various ways
  77. 2023-05-183593184Merge commit '2717ef88f823bb149b803ef530c22d48202f9f94' as 'vendor/growable-buf'
  78. 2023-05-182717ef8Squashed 'vendor/growable-buf/' content from commit 6ad7b3d
  79. 2022-05-091c44b1aaudio_ffmpeg: threadsafe decoding
  80. 2022-02-027a22adbnativeaudio: use lower-case paths to simplify cross-compilation
  81. 2021-10-28a7cb7b6internal/test: use royalty free audio sample
  82. 2021-10-2893b6bd5nativeaudio: [ffmpeg] probe to get format details
  83. 2021-10-28660c4fdnativeaudio: [docs] update readme
  84. 2021-10-28837631bnativeaudio: [unknown] shell out to ffmpeg
  85. 2021-10-286fb83b0nativeaudio: [macos,linux] add lifecycle stubs
  86. 2021-10-28894cde5nativeaudio: [macos] actually compile
  87. 2021-10-26895b3a2example: small example showcasing api
  88. 2021-10-261002562nativeaudio: use built-in helpers at the cgo boundary
  89. 2021-10-267981a03nativeaudio: [perf] init media framework exactly once
  90. 2021-10-26e99fa22nativeaudio: [windows] avoid copying buffer out from C
  91. 2021-10-26e68bad3nativeaudio: [windows] remote debug symbols by default
  92. 2021-10-268a39e04nativeaudio: [windows] avoid buffer allocating calling into C
  93. 2021-10-268e6998cnativeaudio: benchmark native decode against ffmpeg
  94. 2021-10-266668984nativeaudio: introduce decode api to macos and linux
  95. 2021-10-26d1e38c3nativeaudio: [fix] free errors
  96. 2021-10-26b94efcdnativeaudio: correctly specify output format
  97. 2021-10-266579c4anativeaudio: report pcm format from load function
  98. 2021-10-26b3d9551nativeaudio: [wip] decode buffered bytes
  99. 2021-10-2508f125anativeaudio: [fix] properly free dynamic errors
  100. 2021-10-229e0bc63nativeaudio: add project todos
  101. 2021-10-2286099c5internal/test: tighten tolerance to 0.1
  102. 2021-10-22bece432internal/test: optimize negation
  103. 2021-10-2226cf7c5nativeaudio: license under MIT/unlicense with
  104. 2021-10-221135be4nativeaudio: writeup readme
  105. 2021-10-22976ed6cnativeaudio: package native audio decoding