Searched refs:str_rsrc (Results 1 – 1 of 1) sorted by relevance
193 STR_RSRC str_rsrc [] = in sd2_write_rsrc_fork() local214 snprintf (str_rsrc [0].value, sizeof (str_rsrc [0].value), "_%d", rsrc.sample_size) ; in sd2_write_rsrc_fork()215 snprintf (str_rsrc [1].value, sizeof (str_rsrc [1].value), "_%d.000000", rsrc.sample_rate) ; in sd2_write_rsrc_fork()216 snprintf (str_rsrc [2].value, sizeof (str_rsrc [2].value), "_%d", rsrc.channels) ; in sd2_write_rsrc_fork()218 for (k = 0 ; k < ARRAY_LEN (str_rsrc) ; k++) in sd2_write_rsrc_fork()219 { if (str_rsrc [k].value_len == 0) in sd2_write_rsrc_fork()220 { str_rsrc [k].value_len = strlen (str_rsrc [k].value) ; in sd2_write_rsrc_fork()221 str_rsrc [k].value [0] = str_rsrc [k].value_len - 1 ; in sd2_write_rsrc_fork()225 str_rsrc [k].name [0] = strlen (str_rsrc [k].name) - 1 ; in sd2_write_rsrc_fork()235 for (k = 0 ; k < ARRAY_LEN (str_rsrc) ; k++) in sd2_write_rsrc_fork()[all …]