Changeset 92b638c in mainline for uspace/srv


Ignore:
Timestamp:
2012-08-30T11:41:48Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5eed99d
Parents:
ed3816d
Message:

audio, sb16: Add and implement API for playback/capture with or without fragments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_device.c

    red3816d r92b638c  
    112112                const unsigned frames = dev->buffer.size /
    113113                    (BUFFER_PARTS * pcm_format_frame_size(&dev->sink.format));
    114                 ret = audio_pcm_start_playback(dev->sess, frames,
     114                ret = audio_pcm_start_playback_fragment(dev->sess, frames,
    115115                    dev->sink.format.channels, dev->sink.format.sampling_rate,
    116116                    dev->sink.format.sample_format);
     
    155155                const unsigned frames = dev->buffer.size /
    156156                    (BUFFER_PARTS * pcm_format_frame_size(&dev->sink.format));
    157                 ret = audio_pcm_start_capture(dev->sess, frames,
     157                ret = audio_pcm_start_capture_fragment(dev->sess, frames,
    158158                    dev->sink.format.channels, dev->sink.format.sampling_rate,
    159159                    dev->sink.format.sample_format);
Note: See TracChangeset for help on using the changeset viewer.