Searched refs:sample_specifications (Results 1 – 1 of 1) sorted by relevance
150 pa_sample_spec sample_specifications; in CreateInputStream() local151 sample_specifications.format = BitsToPASampleFormat( in CreateInputStream()153 sample_specifications.rate = params.sample_rate(); in CreateInputStream()154 sample_specifications.channels = params.channels(); in CreateInputStream()163 *stream = pa_stream_new(context, "RecordStream", &sample_specifications, map); in CreateInputStream()248 pa_sample_spec sample_specifications; in CreateOutputStream() local249 sample_specifications.format = BitsToPASampleFormat( in CreateOutputStream()251 sample_specifications.rate = params.sample_rate(); in CreateOutputStream()252 sample_specifications.channels = params.channels(); in CreateOutputStream()263 *stream = pa_stream_new(*context, "Playback", &sample_specifications, map); in CreateOutputStream()