Gen 1: Add PC_OFF port category
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
// names for the port categories
|
// names for the port categories
|
||||||
const char *port_category_names[PC_COUNT] = {
|
const char *port_category_names[PC_COUNT] = {
|
||||||
|
NULL,
|
||||||
"Hardware Outputs",
|
"Hardware Outputs",
|
||||||
"Mixer Inputs",
|
"Mixer Inputs",
|
||||||
"DSP Inputs",
|
"DSP Inputs",
|
||||||
|
|||||||
20
src/alsa.h
20
src/alsa.h
@@ -22,20 +22,12 @@ typedef void (AlsaElemCallback)(struct alsa_elem *, void *);
|
|||||||
// port categories for routing_src and routing_snk entries
|
// port categories for routing_src and routing_snk entries
|
||||||
// must match the level meter ordering from the driver
|
// must match the level meter ordering from the driver
|
||||||
enum {
|
enum {
|
||||||
// Hardware inputs/outputs
|
PC_OFF, // Off (the source when a sink is not connected)
|
||||||
PC_HW = 0,
|
PC_HW, // Hardware inputs/outputs
|
||||||
|
PC_MIX, // Mixer inputs/outputs
|
||||||
// Mixer inputs/outputs
|
PC_DSP, // DSP inputs/outputs
|
||||||
PC_MIX = 1,
|
PC_PCM, // PCM inputs/outputs
|
||||||
|
PC_COUNT // number of port categories
|
||||||
// DSP inputs/outputs
|
|
||||||
PC_DSP = 2,
|
|
||||||
|
|
||||||
// PCM inputs/outputs
|
|
||||||
PC_PCM = 3,
|
|
||||||
|
|
||||||
// number of port categories
|
|
||||||
PC_COUNT = 4
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// names for the port categories
|
// names for the port categories
|
||||||
|
|||||||
Reference in New Issue
Block a user