mpv-player / mpv-player/mpv

Add Server Name option to Jack audio output driver

Open
#9,489 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

Add an open the Jack audio output driver to set the JackServerName.

jack_client_open offers a way to set the server name as a parameter. Already tested this with JackSharp.

Alternative is to set the JACK_DEFAULT_SERVER environment variable before running mpv:

jackd -R -n myservername -d alsa -r 41000 -P hw:0 -o 2 -S

export JACK_DEFAULT_SERVER=myservername
mpv -ao jack song.wav

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

Start by locating mpv's Jack audio output driver and tracing its call to jack_client_open. Review the JackServerName parameter and the JACK_DEFAULT_SERVER alternative described in the issue; done means the driver exposes a way to select the Jack server name and the behavior is verified with a Jack server using a non-default name.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.