Changeset ab07cf0 in mainline for uspace/srv/audio/hound/audio_device.c
- Timestamp:
- 2012-07-13T16:11:05Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 13df13c8
- Parents:
- 6424800
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_device.c
r6424800 rab07cf0 187 187 if (dev->buffer.position) { 188 188 dev->buffer.position += 189 dev->buffer.size / BUFFER_BLOCKS;189 (dev->buffer.size / BUFFER_BLOCKS); 190 190 } 191 if ( !dev->buffer.position||192 dev->buffer.position >=193 dev->buffer.base + dev->buffer.size)191 if ((!dev->buffer.position) || 192 (dev->buffer.position >= 193 (dev->buffer.base + dev->buffer.size))) 194 194 { 195 195 dev->buffer.position = dev->buffer.base; … … 202 202 log_verbose("Playback terminated!"); 203 203 return; 204 break;205 204 } 206 205 case PCM_EVENT_RECORDING_DONE: { 206 //TODO implement 207 207 break; 208 208 } 209 209 case PCM_EVENT_RECORDING_TERMINATED: 210 210 log_verbose("Recording terminated!"); 211 break; 212 } 213 214 } 215 //TODO implement 211 return; 212 } 213 214 } 216 215 } 217 216
Note:
See TracChangeset
for help on using the changeset viewer.