diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-26 14:28:45 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-07-07 22:53:51 +0200 |
commit | f9853c1b9c4b4a0b8599e4dbce292586e87100cc (patch) | |
tree | 943bdde0a4183f2b35201c6c833c73261e6fb9a2 /libavdevice/oss_audio.c | |
parent | bb83478d2c91db2c9150bb78568ccef25f0e975f (diff) | |
download | ffmpeg-f9853c1b9c4b4a0b8599e4dbce292586e87100cc.tar.gz |
libavdevice: Remove disabled code.
Diffstat (limited to 'libavdevice/oss_audio.c')
-rw-r--r-- | libavdevice/oss_audio.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c index fcbe26ba93..6e25288dba 100644 --- a/libavdevice/oss_audio.c +++ b/libavdevice/oss_audio.c @@ -80,13 +80,6 @@ static int audio_open(AVFormatContext *s1, int is_output, const char *audio_devi fcntl(audio_fd, F_SETFL, O_NONBLOCK); s->frame_size = AUDIO_BLOCK_SIZE; -#if 0 - tmp = (NB_FRAGMENTS << 16) | FRAGMENT_BITS; - err = ioctl(audio_fd, SNDCTL_DSP_SETFRAGMENT, &tmp); - if (err < 0) { - perror("SNDCTL_DSP_SETFRAGMENT"); - } -#endif /* select format : favour native format */ err = ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &tmp); |