FLAC: Support channel mask in Vorbis Comments

Aperta
#447 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Inizia con FlacProperties e la gestione di FLAC Vorbis Comments, utilizzando la specifica FLAC collegata per confermare il formato di WAVEFORMATEXTENSIBLE_CHANNEL_MASK. Il lavoro è completato quando la maschera dei canali viene riconosciuta nelle proprietà FLAC e mantenuta durante la scrittura o la rimozione dei tag; verifica il comportamento con i test FLAC esistenti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement low priority

Source: https://www.ietf.org/archive/id/draft-ietf-cellar-flac-14.html#name-channel-mask

Apparently there's a standardized Vorbis Comments field for the channel mask in FLAC spec now?

Is anyone using it? Probably not. Will it hurt to update the FlacProperties if we encounter it? Also probably not. Also in the case that this is being used, we don't want to overwrite it when writing/stripping tags.

The field is WAVEFORMATEXTENSIBLE_CHANNEL_MASK, which contains the hex-encoded channel mask.

From the spec:

Following are three examples:

  • If a file has a single channel, being a LFE channel, the Vorbis comment field is WAVEFORMATEXTENSIBLE_CHANNEL_MASK=0x8.
  • If a file has four channels, being front left, front right, top front left, and top front right, the Vorbis comment field is WAVEFORMATEXTENSIBLE_CHANNEL_MASK=0x5003.
  • If an input has four channels, being back center, top front center, front center, and top rear center in that order, they have to be reordered to front center, back center, top front center and top rear center. The Vorbis comment field added is WAVEFORMATEXTENSIBLE_CHANNEL_MASK=0x12104.
Lingua principale
Rust
Stelle
377
Fork
85
Merge medio
1g 43m
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Serial-ATA/lofty-rs

Tutte le issue di Serial-ATA/lofty-rs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.