Lines Matching refs:path
55 /* returns TRUE if the path exists at all */
56 int addAudioDevice(char* path, AudioDevicePath* adPath, int* count) {
64 if (stat(path, &statBuf) == 0) {
78 strncpy(adPath[*count].path, path, MAX_NAME_LENGTH);
79 adPath[*count].path[MAX_NAME_LENGTH] = 0;
81 TRACE1("Added audio device %s\n", path);
132 ret = getAudioDeviceDescription(globalADPaths[index].path, adDesc, getNames);
137 int getAudioDeviceDescription(char* path, AudioDeviceDescription* adDesc, int getNames) {
144 strncpy(adDesc->path, path, MAX_NAME_LENGTH);
145 adDesc->path[MAX_NAME_LENGTH] = 0;
146 strcpy(adDesc->pathctl, adDesc->path);
148 strcpy(adDesc->name, adDesc->path);
179 TRACE1(" getAudioDeviceDescription: %s is in mixer mode\n", adDesc->path);
183 ERROR1("ioctl AUDIO_MIXERCTL_GET_MODE failed on %s!\n", adDesc->path);