Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372024
b: refs/heads/master
c: ccf17b1
h: refs/heads/master
v: v3
  • Loading branch information
Charles Keepax authored and Takashi Iwai committed Apr 21, 2013
1 parent 3d83a03 commit e263a84
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: daa2db59ce7e36011a6c92a0342cd0919b9fb7d3
refs/heads/master: ccf17b13ca615a044c980f1e9a94a07b3f99926d
1 change: 0 additions & 1 deletion trunk/include/sound/compress_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ struct snd_compr_runtime {
u64 buffer_size;
u32 fragment_size;
u32 fragments;
u64 hw_pointer;
u64 app_pointer;
u64 total_bytes_available;
u64 total_bytes_transferred;
Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/core/compress_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ static int snd_compr_update_tstamp(struct snd_compr_stream *stream,
stream->ops->pointer(stream, tstamp);
pr_debug("dsp consumed till %d total %d bytes\n",
tstamp->byte_offset, tstamp->copied_total);
stream->runtime->hw_pointer = tstamp->byte_offset;
if (stream->direction == SND_COMPRESS_PLAYBACK)
stream->runtime->total_bytes_transferred = tstamp->copied_total;
else
Expand Down Expand Up @@ -657,7 +656,6 @@ static int snd_compr_stop(struct snd_compr_stream *stream)
if (!retval) {
stream->runtime->state = SNDRV_PCM_STATE_SETUP;
wake_up(&stream->runtime->sleep);
stream->runtime->hw_pointer = 0;
stream->runtime->app_pointer = 0;
stream->runtime->total_bytes_available = 0;
stream->runtime->total_bytes_transferred = 0;
Expand Down

0 comments on commit e263a84

Please sign in to comment.