Ignore:
Timestamp:
2012-07-17T08:26:49Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e6bba8f
Parents:
950110ee
Message:

Create libpcm.

Move pcm related functions and definitions there.
Make other stuff use this library.
Rename most of it on the way.

File:
1 edited

Legend:

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

    r950110ee rea6c838  
    109109
    110110                const unsigned frames = dev->buffer.size /
    111                     (BUFFER_PARTS * audio_format_frame_size(&dev->sink.format));
     111                    (BUFFER_PARTS * pcm_format_frame_size(&dev->sink.format));
    112112                ret = audio_pcm_start_playback(dev->sess, frames,
    113113                    dev->sink.format.channels, dev->sink.format.sampling_rate,
     
    152152                }
    153153                const unsigned frames = dev->buffer.size /
    154                     (BUFFER_PARTS * audio_format_frame_size(&dev->sink.format));
     154                    (BUFFER_PARTS * pcm_format_frame_size(&dev->sink.format));
    155155                ret = audio_pcm_start_record(dev->sess, frames,
    156156                    dev->sink.format.channels, dev->sink.format.sampling_rate,
Note: See TracChangeset for help on using the changeset viewer.