diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/madplay/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/madplay/files')
-rw-r--r-- | media-sound/madplay/files/madplay-macos.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/madplay/files/madplay-macos.patch b/media-sound/madplay/files/madplay-macos.patch new file mode 100644 index 000000000000..4cc45774274d --- /dev/null +++ b/media-sound/madplay/files/madplay-macos.patch @@ -0,0 +1,20 @@ +--- madplay-0.15.2b/audio_carbon.c.bak 2005-04-04 02:03:58.000000000 -0700 ++++ madplay-0.15.2b/audio_carbon.c 2005-04-04 02:04:39.000000000 -0700 +@@ -94,7 +94,7 @@ + } + + static +-int wait(struct buffer *buffer) ++int carbon_wait(struct buffer *buffer) + { + if (MPWaitOnSemaphore(buffer->semaphore, kDurationForever) != noErr) { + audio_error = _("MPWaitOnSemaphore() failed"); +@@ -263,7 +263,7 @@ + /* wait for block to finish playing */ + + if (buffer->pcm_nsamples == 0) { +- if (wait(buffer) == -1) ++ if (carbon_wait(buffer) == -1) + return -1; + + buffer->pcm_length = 0; |