Opened 13 years ago

Closed 13 years ago

#51 closed enhancement (fixed)

Functions for parsing of symbolic names of stream parameters should be added

Reported by: ph3-der-loewe Owned by:
Priority: medium Milestone: RoarAudio major release 0.4
Component: libroar and friends Version: 0.4beta6
Keywords: Cc:
Architecture: Compiler:
Difficulty: Kernel:
Operating System: Parent Tickets:
Patch attached: no Protocol:
Sound driver: Topic: New feature

Description

There should be some functions added to parse symbolic names of stream parameters like number of channels, bits per sample and sample rate. (codec name lookups are already supported).

Those functions should first try to match a list of common names like for example 'mono', then try the audio profiles and finally fall back to atoi() or something like this.

Subtickets

Change History (1)

comment:1 Changed 13 years ago by ph3-der-loewe

  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from current to 0.4beta6

Implemented as described.

some basic tools use it already.

Note: See TracTickets for help on using tickets.