Created
June 19, 2015 04:24
-
-
Save azizulhakim/b15b002f74e77f88cd5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static snd_pcm_uframes_t audio_pointer(struct snd_pcm_substream *substream) | |
{ | |
struct audio *audio = snd_pcm_substream_chip(substream); | |
return bytes_to_frames(substream->runtime, audio->buffer_pos); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment