mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-08 10:06:19 -05:00
SND_PCM_TSTAMP_MMAP -> SND_PCM_TSTAMP_ENABLE change
This commit is contained in:
parent
70b11d614d
commit
6814d23d29
4 changed files with 7 additions and 7 deletions
|
|
@ -1586,7 +1586,7 @@ static const char *snd_pcm_xrun_mode_names[] = {
|
|||
|
||||
static const char *snd_pcm_tstamp_mode_names[] = {
|
||||
TSTAMP(NONE),
|
||||
TSTAMP(MMAP),
|
||||
TSTAMP(ENABLE),
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1004,7 +1004,7 @@ int snd_pcm_direct_initialize_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, str
|
|||
* based on the tstamp_mode of each client
|
||||
*/
|
||||
ret = snd_pcm_sw_params_set_tstamp_mode(spcm, sw_params,
|
||||
SND_PCM_TSTAMP_MMAP);
|
||||
SND_PCM_TSTAMP_ENABLE);
|
||||
if (ret < 0) {
|
||||
SNDERR("unable to tstamp mode MMAP");
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue