Skip to content

Commit 37fea8e

Browse files
committed
u8500: add ST Ericsson audio configs
to enable add STE_AUDIO ported from commit 3edcf52 Change-Id: I2a9e21f839599548387d72ae91cf69f83275c4d9
1 parent 8c375f1 commit 37fea8e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

include/system/audio.h

100755100644
+17
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,23 @@ typedef enum {
445445
AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET,
446446
} audio_devices_t;
447447

448+
#ifdef STE_AUDIO
449+
450+
// AUDIO_INPUT_CLIENT_ID_BASE provide a means to refer to client Id´s not
451+
// explicitly defined in the enum audio_input_clients
452+
#define AUDIO_INPUT_CLIENT_ID_BASE AUDIO_INPUT_CLIENT_ID1
453+
454+
// AUDIO_INPUT_CLIENT_ID_BASE provide a means to refer to client Id´s not explicitly defined in the enum audio_input_clients
455+
typedef enum audio_input_clients {
456+
AUDIO_INPUT_CLIENT_ID1 = 0x1,
457+
AUDIO_INPUT_CLIENT_ID2 = 0x2,
458+
AUDIO_INPUT_CLIENT_ID3 = 0x3,
459+
AUDIO_INPUT_CLIENT_ID4 = 0x4,
460+
AUDIO_INPUT_CLIENT_PLAYBACK = 0x80000000, // request client of playback type
461+
AUDIO_INPUT_CLIENT_RECORD = 0x80000001 // request client of recording type
462+
} audio_input_clients;
463+
#endif
464+
448465
/* the audio output flags serve two purposes:
449466
* - when an AudioTrack is created they indicate a "wish" to be connected to an
450467
* output stream with attributes corresponding to the specified flags

0 commit comments

Comments
 (0)