macaroni-os / macaroni-os/mark-issues

[media-kit] media-video/pipewire-1.6.7 requires an updated version of libsndfile

Open
#798 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

emerge failure MARK mark-31 mark-iii mark-unstable media-kit
Dominant language
No language data
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

```
../pipewire-1.6.7/src/tools/pw-cat.c:219:19: error: ‘SF_FORMAT_MPEG_LAYER_I’ undeclared here (not in a function)
219 | { "mp1", SF_FORMAT_MPEG_LAYER_I, 1, "f32", SPA_AUDIO_FORMAT_F32, 4, FORMAT_ENCODED },
| ^~~~~~~~~~~~~~~~~~~~~~
../pipewire-1.6.7/src/tools/pw-cat.c:220:19: error: ‘SF_FORMAT_MPEG_LAYER_II’ undeclared here (not in a function)
220 | { "mp2", SF_FORMAT_MPEG_LAYER_II, 1, "f32", SPA_AUDIO_FORMAT_F32, 4, FORMAT_ENCODED },
| ^~~~~~~~~~~~~~~~~~~~~~~
../pipewire-1.6.7/src/tools/pw-cat.c:221:19: error: ‘SF_FORMAT_MPEG_LAYER_III’ undeclared here (not in a function)
221 | { "mp3", SF_FORMAT_MPEG_LAYER_III, 1, "f32", SPA_AUDIO_FORMAT_F32, 4, FORMAT_ENCODED },
| ^~~~~~~~~~~~~~~~~~~~~~~~
../pipewire-1.6.7/src/tools/pw-cat.c:223:20: error: ‘SF_FORMAT_OPUS’ undeclared here (not in a function); did you mean ‘SF_FORMAT_OGG’?
223 | { "opus", SF_FORMAT_OPUS, 1, "f32", SPA_AUDIO_FORMAT_F32, 4, FORMAT_ENCODED },
| ^~~~~~~~~~~~~~
| SF_FORMAT_OGG
../pipewire-1.6.7/src/tools/pw-cat.c:227:28: error: ‘SF_FORMAT_NMS_ADPCM_16’ undeclared here (not in a function); did you mean ‘SF_FORMAT_MS_ADPCM’?
227 | { "nms-adpcm-16", SF_FORMAT_NMS_ADPCM_16, 1, "f32", SPA_AUDIO_FORMAT_F32, 4, FORMAT_ENCODED },
| ^~~~~~~~~~~~~~~~~~~~~~
| SF_FORMAT_MS_ADPCM
../pipewire-1.6.7/src/tools/pw-cat.c:228:28: error: ‘SF_FORMAT_NMS_ADPCM_24’ undeclared here (not in a function); did you mean ‘SF_FORMAT_MS_ADPCM’?
228 | { "nms-adpcm-24", SF_FORMAT_NMS_ADPCM_24, 1, "f32", SPA_AUDIO_FORMAT_F32, 4, FORMAT_ENCODED },
| ^~~~~~~~~~~~~~~~~~~~~~
| SF_FORMAT_MS_ADPCM
../pipewire-1.6.7/src/tools/pw-cat.c:229:28: error: ‘SF_FORMAT_NMS_ADPCM_32’ undeclared here (not in a function); did you mean ‘SF_FORMAT_MS_ADPCM’?
229 | { "nms-adpcm-32", SF_FORMAT_NMS_ADPCM_32, 1, "f32", SPA_AUDIO_FORMAT_F32, 4, FORMAT_ENCODED },
| ^~~~~~~~~~~~~~~~~~~~~~
| SF_FORMAT_MS_ADPCM
../pipewire-1.6.7/src/tools/pw-cat.c: In function ‘format_from_filename’:
../pipewire-1.6.7/src/tools/pw-cat.c:1822:14: error: ‘SF_FORMAT_MPEG’ undeclared (first use in this function); did you mean ‘SF_FORMAT_MPC2K’?
1822 | case SF_FORMAT_MPEG:
| ^~~~~~~~~~~~~~
| SF_FORMAT_MPC2K
../pipewire-1.6.7/src/tools/pw-cat.c:1822:14: note: each undeclared identifier is reported only once for each function it appears in
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the media-kit/pipewire-1.6.7 build and inspect the libsndfile version used when compiling src/tools/pw-cat.c. Confirm which dependency update exposes the missing format constants, then rerun the build to verify the undeclared-identifier errors are gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.