Changeset 4170:5896bbcb14f5 in roaraudio for plugins
- Timestamp:
- 08/14/10 03:22:59 (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/alsa/pcm_roar.c
r4168 r4170 190 190 static snd_pcm_sframes_t roar_pcm_pointer(snd_pcm_ioplug_t *io) { 191 191 struct roar_alsa_pcm * self = io->private_data; 192 int ptr; 192 193 193 194 ROAR_DBG("roar_pcm_pointer(*) = ?"); 194 195 int ptr;196 195 // Did ALSA just call snd_pcm_reset() or something like that without calling the plugin? 197 196 // We should restart our stream as well. … … 216 215 self->last_ptr = io->appl_ptr; 217 216 217 ROAR_DBG("roar_pcm_pointer(*) = %i", ptr); 218 218 return ptr; 219 219 } -
plugins/alsavs/pcm_roar.c
r4168 r4170 190 190 static snd_pcm_sframes_t roar_pcm_pointer(snd_pcm_ioplug_t *io) { 191 191 struct roar_alsa_pcm * self = io->private_data; 192 int ptr; 192 193 193 194 ROAR_DBG("roar_pcm_pointer(*) = ?"); 194 195 int ptr;196 195 // Did ALSA just call snd_pcm_reset() or something like that without calling the plugin? 197 196 // We should restart our stream as well. … … 216 215 self->last_ptr = io->appl_ptr; 217 216 217 ROAR_DBG("roar_pcm_pointer(*) = %i", ptr); 218 218 return ptr; 219 219 }
Note: See TracChangeset
for help on using the changeset viewer.