Lines Matching refs:SM_PLAY

329 	memcpy(pvol, s->str[SM_PLAY].vol, sizeof(pvol));
330 memset(&s->str[SM_PLAY].vol, 0, sizeof(s->str[SM_PLAY].vol));
331 psw = s->str[SM_PLAY].sw;
332 s->str[SM_PLAY].sw = ~0U;
361 err = elem_read_volume(s, SM_PLAY, CTL_PLAYBACK_VOLUME);
363 err = elem_read_volume(s, SM_PLAY, CTL_GLOBAL_VOLUME);
366 err = elem_read_volume(s, SM_PLAY, CTL_SINGLE);
371 s->str[SM_PLAY].sw = 0;
375 err = elem_read_switch(s, SM_PLAY, CTL_PLAYBACK_SWITCH);
380 err = elem_read_switch(s, SM_PLAY, CTL_GLOBAL_SWITCH);
386 err = elem_read_switch(s, SM_PLAY, CTL_SINGLE);
391 err = elem_read_route(s, SM_PLAY, CTL_PLAYBACK_ROUTE);
396 err = elem_read_route(s, SM_PLAY, CTL_GLOBAL_ROUTE);
459 if (memcmp(pvol, s->str[SM_PLAY].vol, sizeof(pvol)) ||
460 psw != s->str[SM_PLAY].sw ||
578 err = elem_write_volume(s, SM_PLAY, CTL_SINGLE);
580 err = elem_write_switch(s, SM_PLAY, CTL_SINGLE);
585 err = elem_write_volume(s, SM_PLAY, CTL_GLOBAL_VOLUME);
595 err = elem_write_switch(s, SM_PLAY, CTL_GLOBAL_SWITCH);
600 err = elem_write_volume(s, SM_PLAY, CTL_PLAYBACK_VOLUME);
605 err = elem_write_switch(s, SM_PLAY, CTL_PLAYBACK_SWITCH);
610 err = elem_write_route(s, SM_PLAY, CTL_PLAYBACK_ROUTE);
875 simple->str[SM_PLAY].channels = pchannels;
876 if (!simple->str[SM_PLAY].range) {
877 simple->str[SM_PLAY].min = pmin != LONG_MAX ? pmin : 0;
878 simple->str[SM_PLAY].max = pmax != LONG_MIN ? pmax : 0;
969 dir = SM_PLAY;
975 (dir == SM_PLAY ? SM_CAP_PVOLUME_JOIN : SM_CAP_CVOLUME_JOIN))
990 (dir == SM_PLAY ? SM_CAP_PSWITCH_JOIN : SM_CAP_CSWITCH_JOIN))
1028 if (dir == SM_PLAY && (s->selem.caps & SM_CAP_PENUM) && !(s->selem.caps & SM_CAP_CENUM) )
1089 dir = SM_PLAY;
1152 if (dir == SM_PLAY)
1185 dir = SM_PLAY;
1228 dir = SM_PLAY;
1247 dir = SM_PLAY;
1273 dir = SM_PLAY;
1290 dir = SM_PLAY;
1306 dir = SM_PLAY;
1307 if (dir == SM_PLAY) {